Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

pidanou/btb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BALANCE TON BUG

BTB API built in JS

TODO

  • email verification

ONGOING

  • Image sharing : need more tools to handle validation

To be improved

  • Cascade deletes

Done

  • Rooms
  • Tickets mechanics
  • Use env variable for secret keys etc

Dropped

  • Separate app and server : not really useful

Installation guide

Requirements

Required

  • NodeJS
  • npm
  • mongoDB

Useful

  • Postman (for dev)
  • mongo Compass

Start guide

Required fields : APP_NAME= name of the app NODE_ENV= environment PORT= port number

ENDPOINT= _endpoint, if in local, use http://localhost

JWT_SECRET= secret key for JWT creation

DB_CONNEXION= db used, by default, use "mongo" DB_HOST= db host, if in local use "localhost" DB_PORT= your mongodb port, by default 27017 DB_DATABASE= name of your database

CLOUDINARY_NAME= not used yet, enter whatever CLOUDINARY_API_KEY= not used yet, enter whatever CLOUDINARY_API_SECRET= not used yet, enter whatever CLOUDINARY_URL= not used yet, enter whatever

  • Open command line at the root, run "npm install"
  • Run "npm start" or "npm run start-dev" for development (using Nodemon and auto server refresh)
  • done, you can now curl or use postman to use the API

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors