Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lqss11/node-mongo-twig
https://github.com/lqss11/node-mongo-twig
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/lqss11/node-mongo-twig
- Owner: LQss11
- License: mit
- Created: 2021-11-09T02:08:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-13T14:11:14.000Z (about 1 year ago)
- Last Synced: 2024-11-11T16:16:17.016Z (2 months ago)
- Language: JavaScript
- Size: 895 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-mongo-twig
This project is a template that is easy and available to use as a node.js application using the mongo database and twig templating engine all in one place.
## Info
You can run the application by setting up docker containers running the **docker-compose.yaml** file with:
```sh
docker-compose up --build
```
You can check the following URLs to test:
| Link | Action |
| ---- | ------ |
|[http://localhost:30030/users/create](http://localhost:30030/users/create)|Create new user |
|[http://localhost:30030/users/signin](http://localhost:30030/users/signin)|Sign in as |
|[http://localhost:30030/users/](http://localhost:30030/users/)|Get all user |
|[http://localhost:30030/users/:_id](http://localhost:30030/users/:_id)|Get user by id |
|[http://localhost:30030/users/create](http://localhost:30030/users/delete/:id)|Delete user |