The project is a study-oriented software solution for bike rental that enables customers to search, reserve, and rent bicycles, and administrators to manage the bike inventory, locations, customer information, and perform reporting and maintenance tasks.
The technology stack for this project is:
- React
- Node.js / Express
- PostgreSQL
The folder structure for this project (TBD)
bike-rental-app/
├── client/
│ ├── public/
│ │ ├── assets/
│ │ └── index.html
│ └── src/
│ ├── components/
│ ├── pages/
│ ├── services/
│ ├── App.js
│ └── index.js
├── server/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ └── app.js
├── .env
├── .gitignore
├── package.json
└── README.md
- The client folder contains the React code for the front-end of the bike rental system.
- The public folder contains the static assets and the index.html file.
- The src folder contains the components, pages, and services of the application.
- The components folder holds the reusable UI components of the system.
- The pages folder contains the different pages of the application.
- The services folder has the logic for interacting with the API and handling data.
- The server folder contains the Node.js code for the back-end of the bike rental system.
- The controllers folder contains the logic for handling HTTP requests and responses.
- The models folder has the database models and the logic for handling data storage and retrieval.
- The routes folder contains the API endpoints and the routing logic.
- The app.js file is the main entry point for the back-end of the system.
- The .env file contains the environment variables.
- The .gitignore file lists the files and folders that should not be tracked by Git.
- The package.json file lists the dependencies and scripts for the project.
- The README.md file provides an overview of the project, installation instructions, and other important information.