bohnerjosh / softeng21

Apache License 2.0
0 stars 0 forks source link

Create profile routes & setup database #8

Open bohnerjosh opened 2 years ago

bohnerjosh commented 2 years ago

Create 2 new routes for users to create profiles to interact with blurg. Also set up database using SQL-lite to store user credentials.

/profile/create [get] - returns a jinja template containing a form for the user to enter a username, password, and email address. /profile/create [post] - processes user account creation information. Returns to the login screen if successful. Displays an error if needed.