Giter VIP home page Giter VIP logo

mayoor's Introduction

mayoor

Modern order management system built with the latest tech stack.

Whats included? ๐Ÿš€

  • orders + customers CRUD
    • forms, lists
    • validations
  • frontend localization
  • deployment setup
  • end to end tests

Tech stack

  • TypeScript
  • React
  • GraphQL
  • Prisma (latest version 2)
  • NexusJS
  • Apollo Server, Apollo Client
  • Formik
  • styled-components
  • Ant design
  • ESLint

Live app demo

๐ŸŒ Visit http://mayoor.herokuapp.com/ - and log in with username: admin, password: admin

Screenshots

mayoor - Add Customer mayoor - Add Order mayoor - List Orders

Why does it exist?

The main motivation is to provide a codebase for an order management system that you can build on top of.

This project was built with a main focus as a support software for a company that prints PVC banners etc. Thats the reason why you might find some business specific pieces of code. The company is based in Czechia ๐Ÿ‡จ๐Ÿ‡ฟ, thats also the reason why the default currency is CZK and there are Czech translations.

Also this project is a result of my masters thesis on the University of Economics in 2020 ๐Ÿ‘จโ€๐ŸŽ“

Requirements

You will need to provide a PostgreSQL database URL to have this app running. It is pretty much up to you where do you want to host this database. The recommended way is to spin it up using Docker. To do so:

  1. install Docker Desktop (follow all the steps there, restart might be required)
  2. run make dev-db (works on MacOS and Linux), or manually by (for Windows): docker-compose -f docker-compose.dev-db.yml up -d
  3. the database is now up and running as deamon (the -d flag), you can verify this by running docker ps -a | grep 54320 (check that postgres is running)
  4. check that the database is running by logging into Adminer http://localhost:8089/?pgsql=db&username=mayoor-user&db=mayoor-db password is developer1

Later on, you can turn off the docker deamon by running: docker-compose -f docker-compose.dev-db.yml down (in the root folder of this project)

If you dont want to use Docker, you can use a remote hosted database for dev env as well (not recommended, though!). Free plans for postgre e.g. here - https://www.elephantsql.com/ are ok for this kind of app. You will need to provide the connection URL to the ENV variables in backend setup.

Getting started

To get the up and running in development mode, you need to follow these two:

Clone this repository:

git clone https://github.com/rostaklein/mayoor

๐Ÿƒโ€โ™‚๏ธGet both parts running:

License

MIT


Rostislav Klein - mayoor - manage your orders - 2020

mayoor's People

Contributors

dependabot[bot] avatar rostaklein 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.