Skip to content

Latest commit

 

History

History
72 lines (38 loc) · 1.55 KB

README.md

File metadata and controls

72 lines (38 loc) · 1.55 KB

Cyrano Server

Cyrano is a learning project by hilarious potato during our web development bootcamp at Ironhack.

Cyrano Server is the Backend for the Cyrano App, which provides users a simple way to share encrypted messages. The process of encryption and decryption happens entirely in the frontend. That has brought up a few challenges for us. Maybe, we haven’t solved them entirely on CIA level, but it works 💪!

Tech Stack

Node, Express, Mongoose

Demo

Cyrano App

This backend

Run Locally

Clone the project

  git clone https://github.com/hilarious-potato/cyrano-server

Go to the project directory

  cd cyrano-server

Install dependencies

  npm install

Start the server

  npm run dev

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

ORIGIN=domain-of-your-frontend.com

SECRET=a-random-secret-for-jwt-token

You can generate a secret in node by running require('crypto').randomBytes(64).toString('hex')

Feedback

If you have any feedback, please create an issue

Authors

Hilarious Potato are:

License

GPLv3 License