CSAllenISD / 2023-ISP-Bug-Tracker

Other
3 stars 0 forks source link

How to Work on Backend #38

Closed Brook-A-CS closed 1 year ago

Brook-A-CS commented 1 year ago

In order to work on the backend you will need complete a couple of steps. First you need you need to make a mongoDB account, then go to cloud.mongoDB.com, which is their server hosting service. I will then invite you to our database allowing you to manage it. After you have access, you need to go to the server directory in our project. Here you'll add a file named '.env' and write "DATABASE_URI=" URI not URL To find your URI, navigate to the database in the cloud.mongodb website, then click on connect. After that click "connect your application", make sure to change your driver to Node.js, and your URI should be displayed. I've already added .env to gitignore but just incase, the URI will have your username and password so make sure you don't push it to github.

Brook-A-CS commented 1 year ago

Although not necessary, you can choose to install mongoDB and mongo compass to your machine. The mongoDB install will install the mongo compass program for you which will let you manage the database from your local machine.

Brook-A-CS commented 1 year ago

DEPRECATED new backend technology guide here