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 ).
To easily set up the application, clone this repository which contains directory for both sections of the project ( i.e blog-backend
and blog-frontend
)
git clone https://github.com/yemiwebby/nest-vue-project.git
cd nest-vue-project
cd blog-backend
npm install
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
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 3000
.
Open another terminal from the nest-vue-project
and navigate to the blog-frontend
folder to setup the frontend
cd blog-frontend
npm install
npm run serve
Finally open your browser and view the application on http://localhost:8080