This repository houses the backend code for our project.
In this project, we've chosen Spring Boot as our backend technology stack. Below is our current database structure.
Here are the steps to follow in order to run the initial 'Verbatim Backend' code:
- Clone the 'verbatim_backend' repository.
- After opening the repository in IntelliJ, navigate to the 'src/main/java/com/cs98/VerbatimBackend' directory.
- Set up Run Configurations:
- Run:
spring-boot:run
- Working Directory:
verbatim_backend
- VM Options:
-Dspring.profiles.active=dev
- Run:
- Connect to your Postgres database by entering fields in the
application-dev.properties
file:spring.datasource.url
: something likejbdc:postgres://localhost:5432/verbatim
(you should already have a postgres database created)spring.datasource.username
: your postgres usernamespring.datasource.password
: your postgres password
- Click the play button in the upper right-hand corner to run the backend.
- Clone the 'verbatim_backend' repository.
- After opening the repository in Visual Studio Code, navigate to the 'src/main/java/com/cs98/VerbatimBackend' directory.
- Install the Java extension 'Extension Pack for Java'.
- Right-click on the 'VerbatimBackendApplication.java' file and select the 'Run Java' option.
The backend is deployed via Heroku. We are utilizing a PostgreSQL database, which is connected to the deployed version of our app as a Heroku resource.
Ryan Dudak, Eve Wening, Eric Richardson, Dahlia Igiraneza, Jackline Gathoni
- Eric Richardson (For not only creating the initial starter code for this backend project but also taking the lead in its overall setup.)