1
0
mirror of https://github.com/franjsco/tick3t-api synced 2024-12-21 20:44:19 +01:00
Go to file
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
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 edit readme 2019-08-08 10:44:35 +02:00

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