Skip to content

Pulse-Messenger/Pulse-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pulse Backend

API for Pulse Messenger

How to run

  • install the dependencies with node lts/hydrogen
npm i
  • create a .env file
DATABASE_ACCESS=Your mongo connection string
JWT_SECRET=Your JWT secret
APP_PORT=Your port

S3_BASE_URL=Your S3 base URL

EMAIL_USERNAME=Your gmail username
EMAIL_PASSWORD=Your gmail password

CLIENT_PATH=URL to your client
  • run the API with
npm run build

npm start
  • test the API with
npm run watch

Docker

# build with
docker build -t backend .

# run with
docker run 
  -p 3000:3000
  --env-file .env
  backend

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published