A course information management system prototype
Mainly for people new to Spring and React
Tech stack:
Framework - Spring boot with Maven build
Backend - Java
Frontend - React.js
Database Server - MySQL
- Clone this repo(Obviously!)
- Download IntelliJ Ultimate(since we're using it as an IDE!)
- Download Node.JS and npm to handle react stuff
- After you clone this repo and download IntelliJ. Open the project in IntelliJ, go to the pom.xml file, right click and select Build as a Maven Project. This should import all the dependencies.
- to start the dev server for viewing and making changes in the frontend, go to the frontend/ directory and execute
npm install
andnpm start
on command line. - If you want your dev server to be able to talk to the REST APIs, open IntelliJ and execute
clean install
in the Maven command line, run the project normally or run the .JAR file created in the target/ directory. Now, your dev server is ready to talk to the backend! You can find both of them on a single port localhost:8080
- Download MySQL from https://mysql.com.
- MANDATORY Create a database on mysql using the following steps:
mysql -u root -p
, then enter your password and executecreate database canvaspath
. - The SQL Queries to be run can be found in query.txt in the data folder.
- Modify the file application.properties according to your own need to configure Hibernate to SQL.