Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.05 KB

File metadata and controls

21 lines (16 loc) · 1.05 KB

Elixir Platform (Backend)

Archived due to time since last touched and having transitioned to a different web framework and have moved onto bigger things. I am still very satisfied with the hign quality work I produced during the lifetime of this project. Please feel free to look around.

Looking for the frontend repo? https://github.com/elixir-x/elixir-fe

Installation (for local development)

Certificates

  • install mkcert and generate localhost certificates, put them in the root of the project.
  • rename your certificates to cert.pem and cert-key.pem respectively.
  • run yarn dev to start the backend project, you're all set up!

Environment Variables

  • rename the .env.example to .env
  • Generate a session secret by opening your terminal and running node then running require('crypto').randomBytes(64).toString('hex') to generate a secret and put it into the SECRET field in the .env file.

Build

  • Run yarn build to build the backend project.
  • You are now ready to deploy for production!