Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.47 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.47 KB

Introduction

This is the source code of my travel Blog. It was forked from this repo, but I made several modificiations:

  • splitted the project into two repositories for the backend and frontend. This make easier to deploy in containers.
  • Added new Google Analytics tags
  • Added a footer for "about us" page
  • Removed VITE framework because I had many troubles with it to deploy on Azure.

Currently this project is deployed on Azure, and you can access it through the following link: https://www.vivaviajando.blog.br/

home page screenshot

Getting Started

This app is build in React (frontend) + Node.js Express (backend).

To use this software it is pretty simple. You just need to clone the repository and run the following commands:

  • create an .env file for backend with MONGOD_URI variable pointing to your MongoDB database. I used the free tier of MongoDB Atlas.
  • create an .env file for frontend with these variables:
REACT_APP_API_PATH="http://localhost:5050"
REACT_APP_GA_ID="G-XXXXXXX"
REACT_APP_GA_CLIENT_ID="YOURID.apps.googleusercontent.com"
REACT_APP_DISQUS_APP_ID="YOURID"

I used free tier of Disqus and Google Analytics. You can create an account and get these variables for free.

  • run: npm install npm run dev (for backend) npm start (for frontend)