Skip to content

alifyandra/express-video-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AngularLoginVideo Backend

Backend code for the the AngularLoginVideo frontend.

Installation

Be sure to have yarn installed on your machine and run yarn install to install all the node dependencies for this project.

Database

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.

Firebase Storage

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.

.env file

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=

Build

To build the application run yarn run build.

Running

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.

Further enquiries

For further enquiries, feel free to hit me up through my socials. email linkedin

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published