gondolin
v0.0.1
Published
The gondolin backend.
Downloads
12
Readme
gondolin
System requirments:
- docker
- docker-compose
- g++
- postgresql-server-dev-10
- node-gyp (via
npm install node-gyp -g
)
Setup:
- Create a
passport.ts
in the config folder. The file contains the secret for the passport authentification.
/**
* This file should not be pushed to public repositories as it contains the
* jwt secret!
*/
export default 'mellon';
Start the database and pgAdmin:
docker-compose --f docker-compose-dev.yml up
Run
npm install
and thennpm start
and gondolin will be available athttp://localhost:3000
.
Run via docker / docker-compose
docker build -t gondolin-server .
docker-compose up
Default users
PostgreSQL: gondolin / gondolin
pgAdmin: admin / admin