Skip to content

Baldur-Fox-Fokuso/BE-Fokuso

Repository files navigation

Back End for Fokuso application

This server functions as a back end server for the Fokuso mobile app, using ExpressJS framework with MongoDB Atlas database

Set the database url (connection string) for MongoDB Atlas in .env

MONGO_URI = "mongodb+srv://<username>:<password>@<mongodb atlas domain>"

Set the JsonWebToken secret in .env

JWT_SECRET = "secret"

Server can be run locally, or on a VPS

First, install the dependencies using npm

npm install

Run the server using npm

npm run dev

For running endpoint test (using Jest and Supertest)

npm run test

API Documentation can be accessed here

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •