A end of term project assignment MeetApp
- Framework : React.js
- Language : JavaScript,Html,Css
- Styling : MaterialUI
- Components : React Component & Redux & React Router
- Package Manager : npm
MeetApp/
├── MeetAppApi/
│ └── Context/
│ └── .gitignore
├── MeetAppWeb/
│ └── src/
│ └── .gitignore
├── README.md
└── LICENSE
-
Clone the repository (or download the source code):
git clone https://github.com/EEnsarA/MeetApp cd MeetApp -
Install dependencies:
npm install
-
Set up your environment variables:
Create a
.envfile in the root of your project:VITE_API_URL=http://localhost:5134
Replace
http://localhost:5134with the actual address of your MeetApp API if different. -
Run the development server:
npm run dev
-
Open your browser:
Visit http://localhost:5173 to view the application.
💡 Note: If port 5173 is already in use, Vite will automatically pick another available port (e.g. 5174). Check your terminal output to confirm the correct URL.
-
Navigate to the API project folder (e.g., MeetAppApi) and open the solution in your IDE.
-
Configure environment settings:
Open or create the appsettings.Development.json file and update the following values:
{
"ConnectionStrings": {
"sql_connection": "Data Source=localhost;Initial Catalog=MeetApp;Integrated Security=True;Encrypt=True;Trust Server Certificate=True;"
},
"AppSettings": {
"secretKey": "your-development-secret-key"
}
}This project includes the required Entity Framework Core migrations.
To create and update your local SQL Server database, run the following command inside the MeetAppApi project directory:
dotnet ef database update This will apply the existing migrations and create the necessary tables.
- Run the API project:
Use Visual Studio, Rider, or the .NET CLI:
dotnet watchThe API will typically run at https://localhost:5134, depending on your launch settings.
-
Make sure both the API and frontend are running.
-
The frontend expects the API to be reachable at the address defined in VITE_API_URL.
-
If you face CORS issues, ensure your ASP.NET Core backend is properly configured to allow requests from the frontend origin.
This project is licensed under the MIT License. See the LICENSE file for details.