An API with authentication and registration, and a frontend with forms to register, sign in, and view some content once the user is logged in.
Pair programming project where we started with the backend creating a Mongoose model for the user and endpoints to create user and log in. When logged in the user can access information stored in a third endpoint that needs authorization. The frontend consists of two forms, one for sign up and one for sign in. When successfully signed in the secret page is displayed.
If we had more time we would allowed the user to post information to the database.
- How to build a registration flow
- How to handle authentication, both in the frontend and in the backend
- How to build a frontend and backend at the same time
- Node.js
- Express
- Mongo DB
- Mongoose
- React
- JSX
- Javascript ES6
- Styled Components
- Backend: https://find-emmas-secrets.herokuapp.com/
- Frontend: https://find-emmas-secret.netlify.app/