Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oghene-ella/erd_codebase
Migrations, Seeders and Authentication using the inventory database
https://github.com/oghene-ella/erd_codebase
authentication migrations mongodb mongoose seeders sequelize
Last synced: 2 days ago
JSON representation
Migrations, Seeders and Authentication using the inventory database
- Host: GitHub
- URL: https://github.com/oghene-ella/erd_codebase
- Owner: oghene-ella
- Created: 2023-10-03T14:46:49.000Z (over 1 year ago)
- Default Branch: my_sequelize
- Last Pushed: 2023-10-03T17:41:42.000Z (over 1 year ago)
- Last Synced: 2024-11-12T06:06:02.737Z (2 months ago)
- Topics: authentication, migrations, mongodb, mongoose, seeders, sequelize
- Language: JavaScript
- Homepage: https://dbdiagram.io/d/64f3955502bd1c4a5edb9001
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Migrations, Seeders and Authentication
## Using Sequelize,
1. create the necessary schemas and models.
2. Seed an admin user and 10 or more items into your database
3. Create a route for a user to signup, login and view the list of items## Things to Note:
- In this implementations, the route to get the list of items must be authenticated
- Use JWT for authentication
- Ensure your JWT expires after 1 hour
- Add a .env.example file
- Ensure password is encrypted