Functional Backend implementation of REST api with NodeJS(Express) MongoDB w/ Prisma and Jest Tests.
π§ WIP π§
Note See Front-end project admin-analytics
- userModedule
- userCreate (POST)
- userAuthentication (POST)
- userGetAll (GET)
- userGetById (GET)
- userGetByEmail (GET)
open/
open route
api/user
userCreateapi/user/auth
userAuthenticationapi/user/all
userGetAllapi/user/:id
userGetByIdapi/user/email/:email
userGetByEmail
- Login
- Validate user token
- Validate isAdmin
- Clone this repo;
- Create a new
.env
file and copy the contents of.env.example
into it.
# install dependencies
> yarn
# or
> yarn install
# build project
> yarn build
# start project
> yarn start
# open in
http://localhost:8080/open