Go to file
Francesco Esposito 7c428c1a0e
Merge pull request #3 from franjsco/dependabot/npm_and_yarn/acorn-6.4.1
Bump acorn from 6.1.1 to 6.4.1
2020-07-19 17:02:52 +02: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 acorn from 6.1.1 to 6.4.1 2020-03-15 13:36:21 +00:00
package.json Edit username 2020-03-01 23:47:27 +01: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