GithubHelp home page GithubHelp logo

luishenriquefa14 / wizbuy Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 137 KB

Buy like a wizard, save like a muggle!

Home Page: https://wizbuy.onrender.com

JavaScript 100.00%
api backend harrypotter js magic nodejs rest rest-api

wizbuy's Introduction

WizBuy

Buy like a wizard, save like a muggle!

Table of Contents

Stack

Structure

- prisma           # Prisma schema and migrations
- src
    - controllers  # HTTP handlers
    - database     # Database connection
    - errors       # Errors utils
    - middlewares  # Middlewares
    - services     # Services
    - tests        # Tests files
    - utils        # Utils
    - router.js    # Router
    - server.js    # Server app
- .env             # Environment variables

Installation

To install the dependencies, you can use the following commands:

npm i --production
# or
yarn --prod

You should rename the file .env.example to .env and fill in the environment variables.

To start the server, you can use the following command:

npm run start
# or
yarn start

If you want to run the server in development mode, take a look at the development docs.

API

Routes:

  • POST /user
  • POST /login
  • GET /user
  • PUT /user
  • DELETE /user
  • GET /products
  • GET /product
  • POST /cart
  • GET /cart
  • DELETE /cart

For more details, take a look at the routes docs.

Motivation

This project brought together two passions of mine: programming and the Harry Potter universe. After I saw the films and read the Harry Potter books, I really wanted to develop a project about them. So, I had the idea of creating WizBuy, a platform for wizards and witches from all over the world to buy their items online.

wizbuy's People

Contributors

luishenriquefa14 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.