Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/terrestris/gondolin
https://github.com/terrestris/gondolin
express hacktoberfest nodejs sequelize typescript
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/terrestris/gondolin
- Owner: terrestris
- License: bsd-2-clause
- Created: 2018-10-08T09:04:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T10:05:58.000Z (about 2 years ago)
- Last Synced: 2024-11-20T12:17:57.353Z (about 2 months ago)
- Topics: express, hacktoberfest, nodejs, sequelize, typescript
- Language: TypeScript
- Homepage:
- Size: 1.91 MB
- Stars: 5
- Watchers: 14
- Forks: 6
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gondolin
System requirments:
- docker
- docker-compose
- g++
- postgresql-server-dev-10
- node-gyp (via `npm install node-gyp -g`)## Setup / DevNotes:
1. 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';
```2. Start the database and pgAdmin: `docker-compose --f docker-compose-dev.yml up`.
3. Run `npm install` and then `npm run start:dev` and
Afterwards…
- … **gondolin** will be available at `http://localhost:3000`
- Example rest request: `http://localhost:3000/Application/get` (rest api is deprecated --> use GraphQL)
- … **GraphiQL** will be available at: `http://localhost:3000/graphql?` (Click on `RootQueryType`) at the right side to get more information about the API.
- … **pgAdmin** will be available at `http://localhost:5050` (admin / admin)## Run via docker / docker-compose
```
docker build -t gondolin-server .docker-compose up
```## Default users
PostgreSQL: gondolin / gondolin
pgAdmin: admin / admin