A Client-Management application for Personal Trainers, Coaches, and Fitness Enthusiasts
Clone this repository and open into your favourite IDE (IntelliJ, VSCode..)
git clone git@github.com:kryanbeane/coachr-fx.git
Create a .env
file in the project root folder:
USER_NAME=<mongo-user-name>
PASSWORD=<mongo-password>
Credentials for the database used for this project should have already been received via a Secret Gist on slack which can be used for testing purposes during grading. If not, please reach out!
You can create your own Atlas MongoDB and configure the project to use that database to avoid needing to use my own. This can be achieved by doing the following:
- Navigate to this line of code in your cloned project and change the url string parts from my database to that of your database.
- You should already have a
.env
file created so navigate toDatabase Access
on your database which can usually be found athttps://cloud.mongodb.com/v2/<your-random-hash>#security/database/users
and create a new database administrative user who has at least read and write access. - Now you should be ready to run your app!
You can run the test database on localhost which does not have any preloaded data but the data on it is persistent if you decide to add any. To do this you just need to do the following:
- Navigate to this line of code in your cloned project and change the Boolean value from
false
totrue
. This will allow you to use the local database that is configured for use during unit tests and works the exact same way, just not in the cloud!
This project is mantained by: