Code Monkey home page Code Monkey logo

pluto's Introduction

A lightweight eCommerce application (not the dwarf planet).

GitHub issues GitHub pull requests GitHub stars GitHub contributors

Table of Contents

Key Features

  • Monolithic repo containing store, backend & admin all together.
├── admin
├── backend
└── store
  • store follows the MVC architecture.
  • store and admin are built using Ant Design for consistent UI design.
  • backend is written in TypeScript for predictable static types.
Show screenshots

Screenshots will be added prior to first release

Development

Prerequisites:

The below commands can be used to install the dependencies & run it locally:

# Clone repository
git clone https://github.com/Alamin02/pluto.git

# Change directory
cd pluto

# Install dependencies
yarn

# Start the pluto store server
yarn start:frontend

In browser at http://localhost:3000/ the frontend of Pluto will open. Since there's no server to serve data from backend, no products will be shown yet.

Before starting the backend, first go to backend folder and create a .env file with the configs like shown in .env.example. For storing images you need a Cloudinary account. After creating an account in cloudinary, go to cloudinary console and there you will find cloudinary related configs there.

# JWT
JWT_SECRET=

# Cloudinary
CLOUD_NAME=
API_KEY=
API_SECRET=

To get started fast with mock data, run the following commands to start the backend server:

# Start the pluto backend server
yarn start:backend

# Seed products data
yarn seed:products

In browser at http://localhost:3000/ refresh the page to see the products.

All the data served to Pluto store can be managed via admin panel. Run the following commands to start admin panel:

# Start the pluto admin server
yarn start:admin

# Would you like to run the app on another port instead? » (Y/n)
y

To log in to the admin panel run the following command to generate admin credentials.

# Create admin account from command line
yarn create:admin [email protected] --password=test_password

Replace [email protected] and test_password with your preferred email and password. Use these credentials to log in to the admin panel.

⚠️ Using yarn instead of npm is advised

Contributors

Organized alphabetically

Farhan Bin Amin

Md. Al Amin

Mehedi Hasan

Raihan Kabir Rifat

Wali Ullah

License

License will be added prior to first release

pluto's People

Contributors

farhan2077 avatar raihankabir36850 avatar alamin02 avatar wali39 avatar mehedihasan06 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.