Backend of the Todolist project
To get up and running on localhost, make sure you have the following installed;
- JDK,
- PostgreSQL,
- IDE (IntelliJ is highly recomended),
- Postman
Download Postgres from here
Take note of the Postgres localhost port (default 5432), and login credentials to the root user postgres (set at installation). You can create a super-user as well and note their credentials.
After installation, create a database named todolist using either psql or pgadmin.
Clone the project and checkout into a stable branch, ideally dev at the moment.
Note : Do not push or commit any changes to any of the branches, create a new oneand create a PR or suggest through issues!
Modify the src/main/resources/application.properties file to have the credentials of the postgres user where the database was created.
spring.datasource.username=postgres
spring.datasource.password=ianMake sure the port and DB name configured in postgres are matching in the properties file as well as shown;
spring.datasource.url=jdbc:postgresql://localhost:5432/todolistRun the project's Application.java file.
The Tomcat Server should be running on port 8080.
Make sure no process is running on the port.
Use the ToDoList Postman collection to test the API. Make sure the ports on Postman requests match with where the app is being served.
Contact maintainers for help with issues encountered
API reference at http://localhost:8080/swagger-ui.html#/ when the server is running on port 8080
Coming Soon!
Licenced using the MIT licence.