Skip to content

aboredvaro/iei-lab-server

Repository files navigation

IEI Lab (server)

We use Heroku to deploy our server, you can access the api here

Installation

MacOS

First install nvm (MacOS)

Linux (debian)

Download & Install nvm

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash

Configuration nvm

$ export NVM_DIR="$HOME/.nvm" 
$ [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
$ [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"

Use node 14.17.3

$ nvm install 14.17.3
$ nvm use 14.17.3

Use yarn

$ npm i -g yarn

Build Setup

# install dependencies
$ yarn

# serve with hot reload at localhost:3000
$ yarn run dev

# serve as production with hot reload at localhost:3000
# $ yarn run start

Code styling

# check code styling errors and warnings
$ yarn run lint

# fix potentially fixable errors automatically
$ yarn run lint --fix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •