Skip to content

vgarmes/link-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linkstack app

(Currently under development. So far only authentication is implemented on the deployed site)

Tech stack

  • Backend (main folder): Node JS with Express
  • Frontend (/client): React, bootstraped with create-react-app
  • Database: MongoDB

Develop

You'll need Node and Yarn installed

  • run yarn to install dependencies
  • run yarn start to start development environment

In order to start the frontend, run the same commands inside /client. By default, the server will be listening on port 5000 and the client on port 3000.

Build

You'll need Node and Yarn installed

  • run yarn to install dependencies
  • run yarn build to build app for production
  • output is in build directory, ready to be deployed

In order to build the frontend, run the same commands inside /client

Deployment

Environment variables:

  • MONGO_URI: MongoDB URI
  • JWT_SECRET: Code to use with JWT.
  • JWT_LIFETIME: Preferred lifetime of tokens generated by JWT

Releases

No releases published

Packages

No packages published