Go to file
Francesco Esposito 98edcae299
Merge pull request #2 from frsposito/dependabot/npm_and_yarn/mongoose-5.7.5
Bump mongoose from 5.5.9 to 5.7.5
2019-11-03 10:29:48 +01:00
src edit server 2019-08-07 11:46:42 +02:00
.babelrc init project 2019-07-04 08:46:40 +02:00
.eslintrc.js init project 2019-07-04 08:46:40 +02:00
.gitignore edit .gitignore 2019-08-07 11:43:13 +02:00
LICENSE Initial commit 2019-05-14 20:28:25 +02:00
README.md edit readme 2019-08-08 10:44:35 +02:00
package-lock.json Bump mongoose from 5.5.9 to 5.7.5 2019-11-03 09:29:15 +00:00
package.json Bump mongoose from 5.5.9 to 5.7.5 2019-11-03 09:29:15 +00:00

README.md

tick3t-api

A REST API for tick3t.

Technologies:

  • Node.js
  • express
  • mongodb

Installation

  1. Install Node.js and npm.
  2. Install mongodb.
  3. Clone this repository.
  4. Install dependencies with npm install
  5. Create env file or set environment variables. (read "Environment variables" paragraph)
  6. Build with npm run build.
  7. Start the server with npm run serve.

Environment variables

Configure the environment variables:

NODE_ENV=production  
PORT=server-port  
SECRET_KEY=your-secret-key  
DB_URL=mongodb://your-host:port/db  
DB_USER=your-user  
DB_PASSWORD=your-password

License

GPLv3