https://github.com/arielbetti/watch-this-api
https://github.com/arielbetti/watch-this-api
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/arielbetti/watch-this-api
- Owner: ArielBetti
- Created: 2022-08-06T07:01:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-03T04:26:17.000Z (about 2 years ago)
- Last Synced: 2025-03-24T11:21:31.289Z (about 2 months ago)
- Language: JavaScript
- Size: 170 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Watch this api
This API serves the application [WatchThis](https://github.com/ArielBetti/watch-this), to run these services you can follow this tutorial.
PROD API: https://watch-this-api.herokuapp.com
#### 1: Create an .env file in the project root and add variables.
you can see an example of the variables used in the project in the `.env-example` file```
DATA_BASE_PASSWORD='{{your mongo data base password}}'
JWT_SECRET_KEY='{{your jwt key}}'
CORS_ALLOWED_ORIGIN='{{your application url ex: https://watch-this.vercel.app}}'
```#### 1: Install deps.
`npm i`#### 2: start in dev mode "nodemon"
`npm run dev`## TODO
[] Refact to typeScript## License
MIT