Link to hosted Project Proposal
Link to Project
The app is deployed on Heroku.
To build the docker image run following command:
docker build . -t <image_name>:latest
Once docker image is created, run docker image/nodejs app using following command:
docker run --publish 3000:3000 <image_name>:latest
The Database file is stored as database/portfolio.db
. You can import database in DB Browser using this file. You can also create database in any other tools using database/db.sql
file.
We have used chart.js library for GitHub Activity bar chart at /user/portfolio
page.
It will render as shown following:
It shows the number of user’s activities on GitHub in past month.
The GitHub RESTFul API is integrated with the application. You can connect your GitHub account by adding “GitHub username” from “Add Social” option on /user/add-social
form. The GitHub repositories are rendered on portfolio page of given username at /user/portfolio
This project integrates the Twitter API. To use Twitter API,
env
file and save it as .env
.env
file from the app created in above stepsUsing Jest.js framework the unit tests are implemented in project. The test_modules
directory contains all the test files. The password.test.js
file runs different tests for password validation in file modules/password_schema.js
To run the tests: npm run test
master
branch is deployed at GitHub Pages. dev
branch is created for development purposes.
Project can be divided into following steps:
https://towardsdatascience.com/create-javascript-gantt-chart-55ff8ec08886