yemiwebby / nest-customer-list-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build a customer management app using Nest.js, Vue.js and MongoDB

Application repo for a customer list management application built with Nest.js, Vue.js and MongoDB.

Getting Started

This prototype is divided into two separate sections. Namely the Backend ( Built with Nest.js) and the frontend ( Built with Vue.js ).

Clone the repository

To easily set up the application, clone this repository which contains directory for both sections of the project ( i.e customer-list-app-backend and customer-list-app-frontend)

git clone https://github.com/yemiwebby/nest-customer-list-app.git

Change directory into the newly cloned project

cd nest-customer-list-app

Backend

Change directory into the backend

cd customer-list-app-backend

Install backend dependencies

npm install

MongoDB

Ensure that you have mongoDB installed on your machine before running the application. I have this fully setup on my mac already.

Start mongoDB:

sudo mongod

Run the application

Open another terminal and still within the customer-list-app-backend project directory run the application with:

npm run start

This will start the backend application on port 3000.

Frontend

Open another terminal from the nest-customer-list-app and navigate to the customer-list-app-frontend folder to setup the frontend

Frontend dependencies

cd customer-list-app-frontend
npm install

Run the frontend app

npm run serve

Test the application

Finally open your browser and view the application on http://localhost:8080

Prerequisites

Node.js, Npm, MongoDB

Built With

Nest.js Vue.js MongoDB

About


Languages

Language:Vue 52.0%Language:TypeScript 38.7%Language:JavaScript 5.8%Language:HTML 3.3%Language:CSS 0.3%