Park Snap is a compact application for managing parking lots with multiple parking slots.
Now you can test the application.
https://github.com/rashmithachamikara/ParkSnap Use git or download zip
You don't have to create any database, everything will be automatically created.
(parksnap_back/src/resources/application.properties)
spring.datasource.url=jdbc:mysql://localhost:3306/parkSnap?createDatabaseIfNotExist=true
change localhost:3306 only if your database port is different (usually no need)
spring.datasource.username= Your mySQL username
spring.datasource.password= Your mySQL password
You can run the app by running the ParkingApplication.java file from your Java IDE. Open the file then use your IDE's run option. (src/main/java/com/example/parking/ParkingApplication.java)
Now, the backend should be running!
Run in npm run start command (in VsCode ctrl+` will open the terminal)
Now, the frontend will start and a browser window will open. The link will be displayed in the console. Make sure the frontend port is 3000. Otherwise, the backend won't authenticate!
Test credentials for frontend: username: adam password: 123
Now, the frontend is ready!