Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tararhoseyn/fullstack-module-assignment
https://github.com/tararhoseyn/fullstack-module-assignment
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tararhoseyn/fullstack-module-assignment
- Owner: TaraRhoseyn
- Created: 2024-10-21T14:50:06.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-10T15:28:21.000Z (about 1 month ago)
- Last Synced: 2024-12-10T16:39:22.119Z (about 1 month ago)
- Language: JavaScript
- Size: 29.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Furniturezz
This repository is for purely educational purposes and submitted for a university assignment.
# Technology used
- **React** for frontend
- **Node** for backend
- **Express** for API
- **MySQL** for database## Smaller dependencies
- **Bootstrap** for styling, particularly for layout
- **nodemon** for handling Node server
- **react-router-dom** for handling routes in React
- **XAMPP** for running the SQL server# Starting the database
This application uses a MySQL database hosted locally on a machine. To start the database I used the software XAMPP.
To run a MySQL database using XAMPP you need to:
1. Install XAMPP
2. Open XAMPP Control Panel
3. Click 'Start' on Apache server and MySQL server
4. Go to your 'http://localhost'
5. Click 'MyPHPAdmin'
6. Create a new database using the SQL script in the root of this project.# Starting the backend server
Change directory into the correct dir:
```
cd server
```
Start the server (using nodemon so any changes will automatically be updated and there's no need to restart the server every time)
```
npm start
```
This will start your Express application running on port 5000.# Starting up the frontend server
Change directory into the correct dir:
```
cd client
```
Start up the node server to run the React instance:
```
npm start
```
This will start your React application running on port 3000.