Skip to content

aboredvaro/WannaHangOut-backend

Repository files navigation

Wanna Hang Out (server)

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

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.16.0

$ nvm install 14.16.0
$ nvm use 14.16.0

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

Stanford Javascript Crypto Library (hash256)

$ yarn add sjcl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •