This app is based on NodeJs and will implement a nice Rest API. It will implement some route to fetch data on the real Youtube API server and fit our need.
The project is used on Docker but if you want you can install required services on your host, it's up to you ;)
You can use the basic docker / docker-compose command, but you should use the Makefile
command, it contains the basics often used.
To install your project inside the container, use
make install
To build the app, just simply run
make build
Then run the container
make start
In case you want to customize the services settings, create a docker-compose.override.yml
file and apply your needs.
Actually 3 variables could be used
- prod
- dev
- test
By default it uses the 80
port but you can change it easily
Use docker-compose.override.yml
file to override any settings as port and env value.
services:
app:
environment:
- NODE_ENV=dev
- NODE_PORT=9000