https://github.com/edgartec97/nodejs-chucknorris-jokes
https://github.com/edgartec97/nodejs-chucknorris-jokes
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/edgartec97/nodejs-chucknorris-jokes
- Owner: EdgarTec97
- Created: 2021-07-29T23:10:19.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-29T23:13:29.000Z (almost 4 years ago)
- Last Synced: 2025-02-09T09:41:22.786Z (4 months ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Development server
You must have docker and docker-compose installed on your computerfrom the root of the project execute the following commands in order
docker-compose up -d --build
docker exec -it mongodb bash
mongo -u root -p root
db.getSiblingDB ('challenge'). createUser ({user: 'root', pwd: 'root', roles: [{role: 'readWrite', db: 'challenge'}]});
wait 5-10 seconds
that's for user creation, after that you can already quit the bash and use the API