/node-sql-library-manager

A library managing system with focus on learning SQL tools to manage databases

Primary LanguageJavaScript

NodeJS SQL-Based Library manager

Dev Mode

To run in dev mode (requires local postgres server to be up and running and have username:password & database which are set in .env.dev file) - This is just for development:

npm run dev

Production mode (recommended)

To run in production mode (requires docker and docker-compose and an stable internet connection with access to dockerhub) - Takes care of database server and dependancies:

First you'll need to install Docker and docker-compose then navigate to project directory setup .env file (an example file is provided .env.prod.example) and start the container

docker-compose up 

Regardless of which you choose, you can access front-end (interface) on localhost:3000 and back-end (api) on localhost:3000/api