Giter VIP home page Giter VIP logo

ants's Introduction

Ants (Because ants are good in carrying items from different places)

Managing Customer Order Shipments

Libraries used: React, Webpack, SASS

Platform: NODE v8.6.0, NPM v5.3.0

Running App (Demo): http://ec2-184-73-148-247.compute-1.amazonaws.com:3001/ (It will be a bit slow the first time)

Steps to install and run locally:

git clone https://github.com/vikaskulkarni/Ants.git
cd Ants
npm install

cd Ants/client
npm install

Production Mode

cd Ants/client
npm run build
cd Ants
npm run start-server

Navigate to http://localhost:3001/. Here node server is serving the client files as well.

Development Mode

cd Ants
npm run start-dev

Navigate to http://localhost:65132/. In this mode, the code changes are automatically loaded. Make sure the underlying service layer is running on 3001 that serves the APIs

Looking at the project structure:

Client (Ants/client) components

    This contains the reusable components like header, footer, table, search. These are standalone components that can be used by any pages by passing required props.

containers

    This contains the Application container, App.jsx that embeds all the required components to design the page. The application has;
    - header
    - table to list the Ad slots
    - form to show the Ad details and create, edit

service

    This is common api layer that uses 'axios' library to make server calls

Server (Ants/server) server.js

    This is the main entry point for the server code and contains all the REST end points required by the client
    
entities

    This contains the schemas for handling mongodb models

For Database, Mongo is used as a service through https://www.mlab.com/

Wiki for REST end points: https://github.com/vikaskulkarni/Ants/wiki/REST-End-Points-for-Order,-Customer-and-Product-Management

ants's People

Contributors

vikaskulkarni avatar

Watchers

James Cloos avatar  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.