Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/biggaji/backend-auth
YIP backend workshop demo: Authentication and Authorization.
https://github.com/biggaji/backend-auth
Last synced: about 20 hours ago
JSON representation
YIP backend workshop demo: Authentication and Authorization.
- Host: GitHub
- URL: https://github.com/biggaji/backend-auth
- Owner: biggaji
- License: mit
- Created: 2023-11-09T14:08:40.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-01T13:22:23.000Z (11 months ago)
- Last Synced: 2023-12-01T14:32:48.874Z (11 months ago)
- Language: JavaScript
- Size: 167 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# backend-auth
YIP backend workshop demo: Authentication and Authorization written in
javascript (Node.js).Every part of this project is a sample code which shows how to do the following:
- Create an API server using express framework
- Create a simple REST API that performs CRUD operation on users records in a
connected mongo database## How to contribute
1. Fork this project
2. Install the project dependecies by running `npm install` in your project
directory terminal
3. Create a `.env` file in your project root and set this `MONGO_URI=`
`JWT_SECRET` to the uri of your newly created mongo cluster.
4. Start the API server using `npm run dev`.## Recommended study links
- [Mongo Tutorial](https://www.youtube.com/playlist?list=PL4cUxeGkcC9h77dJ-QJlwGlZlTd4ecZOA)
- [Mongoose documentation](https://mongoosejs.com/docs/guide.html)### Happy coding guys!