Giter VIP home page Giter VIP logo

lokeshdarla / ollivanders_store Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 24.47 MB

Dive into the wizarding world with Ollivanders Store! ๐Ÿช„ Explore and purchase a variety of magical wizard wands from the Harry Potter series. ๐Ÿง™โ€โ™‚๏ธโœจ Shop now for an enchanting experience! ๐Ÿ›๏ธ #OllivandersMagic

Python 98.52% Mako 0.04% PowerShell 0.02% Shell 0.01% C 0.04% Cython 1.09% JavaScript 0.08% HTML 0.01% CSS 0.01% TypeScript 0.20%
fastapi postgresql reactjs

ollivanders_store's Introduction

Ollivanders Store

Ollivanders Store is a wizard-themed e-commerce website where fans of the Harry Potter series can explore and purchase a variety of magical wizard wands.With an intuitive and user-friendly design powered by React and TypeScript for the frontend, complemented by a spellbinding FastAPI backend, Ollivanders Store guarantees a bewitching experience.

Project Structure

The project follows a standard structure for a Python web application with a FastAPI backend and a React frontend:

Ollivanders_Store/
|-- backend/
|   |-- app/
|       |-- __init__.py
|       |-- main.py
|       |-- models.py
|       |-- routes/
|       |-- schemas/
|       |-- database.py
|   |-- tests/
|-- frontend/
|   |-- public/
|   |-- src/
|       |-- components/
|       |-- pages/
|       |-- App.tsx
|       |-- index.tsx
|-- .gitignore
|-- README.md
|-- requirements.txt

Backend Design

Database Design

Setting Up the Backend

  1. Navigate to the backend directory.
cd backend
  1. Create a virtual environment and activate it.
python -m venv venv
source venv/bin/activate   # On Windows, use "venv\Scripts\activate"
  1. Install the required Python packages.
pip install -r requirements.txt
  1. Run the FastAPI development server.
uvicorn app.main:app --reload
  1. To run the test cases.
pytest

The backend should now be running on http://localhost:8000.

Setting Up the Frontend

  1. Navigate to the frontend directory.
cd frontend
  1. Install the required Node.js packages.
npm install
  1. Start the React development server.
npm run dev

The frontend should now be accessible on http://localhost:5173.

Accessing the Ollivanders Store

Visit http://localhost:5173 in your web browser to access the Ollivanders Store and explore the magical wizard wands.

Working Images

WorkingImage_1 WorkingImage_2 WorkingImage_3 WorkingImage_4

ollivanders_store's People

Contributors

lokeshdarla avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.