A website for exploring and sharing information about historic events. Created following the idea of our Facebook page.
Prerequisites:
- Installed Node.js LTS. LTS is required because bcrypt works only with LTS.
Getting the project:
- Clone this repository.
- Go to project dir.
- Install the project
git clone https://github.com/ivancho-ifa/on-this-day.git # 1
cd on-this-day/on-this-day-backend # 2
npm install # 3
cd on-this-day/on-this-day-frontend # 2
npm install # 3
Running the project in development environment:
# In the project folder create a file ./on-this-day-backend/config.js with content:
# module.exports = {
# JWTSecret: 'A JWT secret',
# mongoConnectionURI: 'A MongoDB connection URI'
# }
npm run start-backend
# From the project folder
npm run start-frontend