This is a responsive PC rent app, created using:
Before you begin, ensure you have the following installed on your machine:
.env
fileCreate a new file named .env
in the "backend" directory.
To do it propertly copy this code and paste it to your newly created .env file.
.env
DB_HOST="localhost"
DB_USER="root"
DB_PASSWORD="your_password"
DB_DATABASE="pc_rent_platform"
npm install --save mysql2
npm i express
npm i express-session
npm i express-mysql-session
npm i multer
npm install dotenv
npm install
npm install react-router-dom localforage match-sorter sort-by
npm install react-icons
Once the dependencies are installed, you can start the development server and run the app:
npm run dev
;node index
or if installed nodemon
;As this project is on going there is a lot more left that needs to be worked on, so this is not a resource for production ready workflow ideas or systems.
Some of the things/functions left to do:
This project is licensed under the MIT License - see the LICENSE file for details. Intention is that you can use everything in this project as a starting point or as a bits and pieces in your own project.