Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/biantris/restris
- Owner: biantris
- Created: 2022-08-11T19:41:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-14T01:17:50.000Z (2 months ago)
- Last Synced: 2024-10-15T01:29:19.100Z (2 months ago)
- Topics: api-rest, koa, mongodb, mongoose, rest, rest-api
- Language: TypeScript
- Homepage:
- Size: 950 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
### 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]