My Drive is a simple file storage service comprised of a Spring Boot-based backend for managing files, a REST API for communicating with the backend, and a user-friendly web application. Feel free to use this code in your projects.
- Postgresql
- Node Package Manager (npm)
- Maven (mvn)
- Create a Postgresql user and a database
- Go to the application.properties file modify the lines 2,3 and 4 with the url of the database, your username and password. The first lines should look like this:
#Database
spring.datasource.url=jdbc:postgresql://localhost:5432/mydrive
spring.datasource.username=postgres
spring.datasource.password=password
- Install node modules:
cd app
npm install
Start Backend
cd api
mvn spring-boot:run
Start WebApp
cd app
npm start
The WebApp is running on http://localhost:3000. The login page is in http://localhost:3000/auth/login