Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/biantris/restris

⚙️ REST api with NodeJS(KoaJS) MongoDB and Jest Tests.
https://github.com/biantris/restris

api-rest koa mongodb mongoose rest rest-api

Last synced: about 2 months ago
JSON representation

⚙️ REST api with NodeJS(KoaJS) MongoDB and Jest Tests.

Awesome Lists containing this project

README

        

RESTRIS

Functional Backend implementation of REST api with NodeJS(KoaJS) MongoDB and Jest Tests.


Tests Passing

### Tools
- [x] TypeScript
- [x] Node
- [x] KoaJS
- [x] MongoDB
- [x] Mongoose
- [x] Jest
- [x] Supertest
- [ ] Swagger
- [ ] Eslint
- [ ] Prettier

### Modules
- [x] userModel

#### APIs
- [x] userGet
- [x] userGetAll
- [x] userPost
- [x] userUpdate
- [x] userDelete

### Auth Flow
- [x] login
- [x] validate user token
- [x] logout

### Getting Started
- clone this repo
```sh
# install dependencies
> yarn
# or
> yarn install

# copy .env file
> cp .env.example .env

# start project
> yarn start

# open in
http://localhost:9000/api/version
```

##### 🔗 Demo:
[wip]