Skip to content

savvato-software/savvato-work-app-backend-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the wonderful work app backend.

It uses Express.js to create a REST API that handles our business logic and interacts with a MongoDB database.

Setup Local Database Server for Windows

  • Install MongoDB Community server
    • Install .msi or .zip based on your convenience
    • If installed .msi run the installation file from cmd terminal as Administrator
    • In 'Service Configuration', uncheck 'Install MongoD as a service' if you want to run the local development server manually (I prefer this for development/testing phase)
    • Install Mongo Compass if you prefer a GUI to manage databases and connection strings for them
    • After installation, go to default installation directory (C:\Program Files), find MongoDB
    • Keep opening the nested folders till you find bin
    • Copy the path, open the folder in the terminal as Administrator
      C:\Windows\System32>cd C:\Program Files\MongoDB\Server\7.0\bin
      
    • Run the Database Server file (mongod) with paths defined for databases ( dbpath ) and logs ( logpath ) (I prefer a different directoy, 'D:/')
      C:\Program Files\MongoDB\Server\7.0\bin>mongod --dbpath D:\MongoDB\Server\7.0\data\db --logpath D:\MongoDB\Server\7.0\logs\mongod.log
      
    • WIP : ways to automate the server execution - bash script ?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published