My diary is web based application which holds your memories. You can access it through your account anywhere around the world!!!.
- Vite JS
- Spring-boot
- PostgreSQL
- NeonDB for Postgres
- Onrender & Vercel for Deployment
cd Diary-Web-AppBefore running the frontend check whether the listed .env variables are defined
VITE_CLERK_PUBLISHABLE_KEY=
VITE_BACKEND_URL= cd Diary-Web-App/frontend npm install npm run devOpen the backend folder in a IDE. Recommendation : IntelliJ Idea. Before running the backend fill the aplication.properties file
spring.application.name=my-diary
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=
spring.datasource.username=
spring.datasource.password
spring.jpa.show-sql=
spring.jpa.hibernate.ddl-auto= mvn dependency:go-offlineStep 2: Run the spring-boot application through run application button on the editor or try the below cmd
mvn spring-boot:runIf the application started, visit http://localhost:8080/ to verify if the API working.