Skip to content

About

Backend implementation of REST api with Node.js, Koa.js, MongoDB and Jest Tests

Topics

Resources

Stars

64 stars

Watchers

2 watching

Forks

Repository files navigation

Koa JS CRUD Backend Implementation

Backend implementation using koa js to build a REST API.

run

  • run yarn to install dependencies

  • create a new file .env and fill it with the .env.example content

  • yarn start

see the api on http://localhost:6000

pipeline

MongoDB

  • create connection with MongoDB
  • create user model

APIs

  • GET user
  • GET ALL create user
  • POST user #10
    • implement body values validation with yup;
    • create new user if valid
    • validate if user exists and return
  • DELETE user

Auth Flow

  • login
  • validate user token
  • sign up

follow me

Twitter Twitch

About

Backend implementation of REST api with Node.js, Koa.js, MongoDB and Jest Tests

Topics

Resources

Stars

64 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages