Coder Social home page Coder Social logo

demo_for_deploy's Introduction

Mean Stack - Customer Store App

This Customer Store is a very basic Mean Stack application developed using MongoDB, Express, Angular and Node.js to show CRUD operations on MongoDB using RestAPI.

Prerequisites

  • In order to run this app, you need Node.js, which is javascript runtime installed on our machine. So download and install the latest Node.js available from this link.

  • we also need to have MongoDB installed on the machine. You can download and install MongoDB community edition free from this link.

OR

  • if you dont want to install MongoDB on your machine then you can use cloud hosted MongoDB service from this link. Ypu have to create account and use free tier to host your data.

Getting Started

Clone or Download the zip file of this repository.

Setup server

Open the command window in the folder where you have unzip the mean-stack-application repository.

Rename .env_example file to .env and add following code in the file in case you are using local MongoDB.

DB_CONNECTION=mongodb://localhost:27017/customerDb

Otherwise, if you are using cloud based MongoDB service then you the connection string you get from there instead of local one.

Now run following command to install all the package dependencies.

npm install

Setup Client application

Now move to client folder.

cd client

Now run following command to install all the package dependencies for client.

npm install

Run Client & Server

Run following command to start the client application and server concurrently.

npm run dev

Server will listen at URL - http://localhost:3000/Customers Navigate to http://localhost:4200/to access the client application.

Docker Support

Docker image of this app is available at my docker Hub registory. You can pull the image from meanstack-app repository.

Built With

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

demo_for_deploy's People

Contributors

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