Build a blog using Nest.js, Vue.js and MongoDB
Application repo for a simple blog application built with Nest.js, Vue.js and MongoDB.
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
git clone https://github.com/yemiwebby/nest-vue-project.git
Change directory into the newly cloned project
Change directory into the backend
Install backend dependencies
Ensure that you have mongoDB installed on your machine before running the application. I have this fully setup on my mac already.
Run the application
Open another terminal and still within the
blog-backend project directory run the application with:
npm run start:dev
This will start the backend application on port
Open another terminal from the
nest-vue-project and navigate to the
blog-frontend folder to setup the frontend
cd blog-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