Auth & invites
The first thing i wanted/needed to develop for the backend was login and register functions
To start with i created all of my tables in Postgresql (User, Invites, Projects, Blogs)
I then started developing registrations, i wanted users to need an invite key to register so i made sure that an account couldn't register unless it had a valid unused key.
Upon attempting to register i check the database for any existing users and check the keys correct then hash the password and register the account
login was similar, checking database for the user and verifying the password
For invites i decided to generate a random string of characters and then link that key to the user who created it.
as for testing i used a program called Postman which lets you send post, get requests and etc and verified everything was working
Next week i'll continue on backend development more then likely blogs and projects.