The frontend uses reactjs.
- It is recommended to run the frontend on visual studio code.
- Once the file is open, run
cd .\pigEbank\frontend\
- Run
npm install
if it is your first time running the coe - Run
npm start
to start the frontend
- Run
The backend uses spring boot. What we would consider a class is split into four sections to allow it to read from and write into the database.
- Please make sure to accept the MongoDB invite that was sent to you so that you can
see the current database. Follow the instructions on the website to view the database.
- I recommend for you to download MongoDB compass, but use whatever you prefer
- I recommend for you to use Intellij, as it already has support for both java
and spring boot
- If you decide to use another IDE, please look up how to set it up for java and spring boot
- I recommend to only open the file named *Backend* as its own project in intellij
- Press the green arrow in the top right corner to run the backend
- use: gradle bootRun
- Do this in the backend file
- The site you should go to is -> localhost:8080
- localhost:8080/newAccounts will show you what's currently in the database
- In AccountController, where it says @RequestMapping("/newAccounts"), the part where it says "/newAccounts" represents the subDirectory
- localhost:8080/newAccounts will show you what's currently in the database
-
Frontend:
- Setting up a cookie with an expiration date:
- Adding a hyperlink:
- Creating the modals for the Settings page and update modals
- Login Page:
- React Components:
-
Backend:
- Setting up the backend and the basic CRUD operations:
- Mongodb Update operations:
- Mongodb's operations:
-
Readme: