This is a project that combines a React frontend with an Express backend.
- Node.js (version 18 or higher)
- MongoDB
-
Clone the repository:
git clone https://github.com/kakiii/cc
-
Navigate to the project directory:
cd cc
-
Install dependencies for both the server and the client:
npm install
-
Start the server, remember you cannot do node index.js inside src folder, it must be done outside:
node server/src/index.js
The server will start running at
http://localhost:8080
. -
Build the React app:
cd client npm run build npm run dev
- npm run dev can reload the app without rebuilding the app
-
Access the application:
Open your web browser and visit
http://localhost:5173
to access the application.
- The application combines a React frontend and an Express backend.
- Follow the on-screen instructions to navigate and interact with the application.
- Choices made in the application will be recorded by the server.
Contributions are welcome! If you encounter any issues or have suggestions, please open an issue or submit a pull request.
Feel free to copy and paste this Markdown text into your README file and modify it as needed.