hisefath / AlphaEats

AlphaEats is a web app with an angular front end, .NET backend, postgres database, and is for searching restaurants

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AlphaEats Web App

A Full stack web development assessment. Most up to date code will be here:https://github.com/Shefuchow/AlphaEats A quick look:

Author

Sefath Chowdhury - linkedin

Project Purpose

Display skill in:

  • Front End developement
  • Backend development with data access layer using ORM
  • Beginner DevOps development
  • SOLID Principles (single responsibility, loose coupling, dependancy injection, etc)
  • SPA design patterns in Angular (see component structure)
  • Ability to learn new technologies while working

Built With

  • Angular - The front-end framework used
  • Postgres - Postgres DB database
  • .NET - Backend development platform
  • Docker - Containerization solution


Get Started

I'm working on a Mac

  1. Here's the code tree:
.
├── AlphaEats.sln
├── AlphaEats.Api
├── AngularClient
├── docker_postgres_init.sql
└── docker-compose.yml
  1. Please clone and cd into AlphaEats folder
git clone https://github.com/Shefuchow/AlphaEats
cd AlphaEats
  1. Run docker-compose up

  2. Grab a coffee, snack, maybe even catch a movie, this takes a while (~20 minutes? my personal mac is a dinosaur, need an M1 chip)

  3. If you have Docker Desktop, here's what the containers should look like Containers

  4. Front end is on http://localhost:8080 Frontend

  5. Back end is on http://localhost:5000/swagger/index.html visualized and documented with SwaggerUi Frontend

And you can current test the search api through swagger like this: swagger

I will update the frontend to take the post request and call the api. You can check on github here: https://github.com/Shefuchow/AlphaEats

  1. PostgresAdmin is on http://localhost:16543 -> login in with
    test@gmail.com test123! Login Add New Server
    Name root -> Connection Tab
    addServer

  2. Go to root -> Schemas -> tables Db are seeded with given CSVs (restaurant.csv and Cuisine.csv) Database1 Database2

  3. If you want, you can run this in visual studio as well, and click docker-compose as startup project and run that

  4. To stop the containers after, asssuming these 4 were the only containers running, use docker stop $(docker ps -q) to stop all.

Tools Used

  • Github (version control)
  • Visual Studio (code editor)
  • IKEA mattress (for power naps)
  • Nutribullet (for smoothies)

About

AlphaEats is a web app with an angular front end, .NET backend, postgres database, and is for searching restaurants


Languages

Language:C# 78.9%Language:TypeScript 13.7%Language:HTML 3.9%Language:JavaScript 1.7%Language:SCSS 1.0%Language:Dockerfile 0.9%