Backend code for the the AngularLoginVideo frontend.
Be sure to have yarn installed on your machine and run yarn install to install all the node dependencies for this project.
This application uses postgres as the default database by utilising the sequelize node.js ORM to communicate with the database.
To make things easy, the database service can be containerized through docker. A docker-compose.yml file has been provided. To get the database ready, run docker compose up.
This uses Firebase storage to store file uploads. To allow this application to work, create your own Firebase project and supply your own Firebase project credentials for this application.
To make sure the app runs properly, be sure to have a .env file on the top level of this repo with these variables.
API_KEY=
AUTH_DOMAIN=
PROJECT_ID=
STORAGE_BUCKET=
MESSAGING_SENDER_ID=
APP_ID=
MEASUREMENT_ID=
JWT_KEY=
To build the application run yarn run build.
This application is hardcoded to listen on port 8080 for http requests.
To run the application, make sure you have previously ran docker compose up to make sure the database is running, then, run yarn run start.
For further enquiries, feel free to hit me up through my socials. email linkedin