Restaurant Rating App with features to create, edit, delete, and rate restaurants.
git clone https://github.com/developersatish/restaurantRating.git
-
Move to backend/BackendServices
cd backend/BackendServices
-
Web API on .NET 8.0
-
Configure AWS IAM with DynamoDB Access
Ensure you have the necessary AWS IAM credentials configured for access to DynamoDB. You can set up your credentials using the AWS CLI or by configuring environment variables.
-
Compile and Run
dotnet build dotnet run
-
Move to frontend
cd frontend
-
Angular 7
Ensure you have Angular CLI installed for version 7. If not, install it using:
npm install -g @angular/cli@7
-
Twitter's Bootstrap
Twitter's Bootstrap is already configured in the project. If you need to re-install or update it, run:
npm install bootstrap@4
-
Node.js 8.x or 10.x
Ensure you have Node.js version 8.x or 10.x installed. You can check your Node.js version with:
node -v
-
Install Dependencies
npm install
-
Run the Application
npm start
The application will be available at
http://localhost:45763
. -
Run Tests
npm run test
This will execute the unit tests for the project.
The project is divided into backend and frontend directories:
backend/BackendServices
: Contains the .NET 8.0 Web API project.frontend
: Contains the Angular 7 project with Bootstrap styling.
- Create Restaurant: Add new restaurants to the list.
- Edit Restaurant: Update restaurant details.
- Delete Restaurant: Remove a restaurant from the list.
- Rate Restaurant: Add ratings and comments to restaurants.
Ensure you have the necessary configurations for both the backend and frontend parts of the application. Backend requires AWS IAM credentials with DynamoDB access. Frontend requires Node.js and Angular CLI.