A web application for managing and viewing meetup events, built with a Node.js backend and a React.js frontend. The project uses MySQL for the database, Express.js for the REST API, and Bootstrap for the UI styling. This is a group assignment, our contributors are:

- Ameenah
- Libby
- Carly
- Filsan
- Hollie
- Yusra
Ensure the following are installed on your system:
Node.js (v16 or later) npm (Node Package Manager, included with Node.js) MySQL (v8 or later) Vite DotEnv Express
-
Clone the repository to your local machine. You can do this by running the following command in your terminal: git clone [GITHUB URL HERE]/CFG-Meetup-App.git
-
Ensure dependencies are installed first:
npm installnpm install expressnpm install mysql2npm install corsnpm install dotenvnpm install nodemonnpm install react-routernpm install react-router-domnpm install zodnpm install bcrypt
- Click on install_requirements.cmd or type ".\install_requirements.cmd" in your terminal.
- This will install all the requirements needed for the project.
- Create your ENV file with your database info, place it in
backend/config.envSample data:
DB_HOST=localhost
DB_USER=your_username
DB_PASSWORD=your_password
DB_NAME=neighbourhood_app_data- Set up your database using MySql Workbench or any other system you're using for your database. Import the contents of /backend/sql/schema.sql
Finally:
- Run the server.
- Click on start.cmd or type ".\start.cmd" in your terminal.
- It should boot up the url in your browser to the live site with both the backend and frontend active. These will remain active as long as their cmd terminals are open.
-
Open a terminal. "Terminal > New Terminal".
-
Split the terminal by clicking the split icon in the terminal panel or pressing Ctrl + Shift + 5.
-
Use one terminal for the backend:
cd backendnpm run devThis will remain active as long as that terminal is active. -
Use the other terminal for the frontend:
cd frontendnpm run devThis will remain active as long as that terminal is active. -
Finally, navigate to
http://localhost:5173/to view the site.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh