Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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!