Skip to content

Building a data visualization solution for code style mined from thousands of GitHub public repositories.

Notifications You must be signed in to change notification settings

tonyc856/code-style-data-vis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code-style-data-vis

Building a data visualization solution for code style mined from thousands of GH public repositories.

We have a separate project for maintaining source code miners and style analyzers (https://github.com/bcdasilv/code-style-mining).

Developement environment setup:

  1. Install Node.js
    https://nodejs.org/en/download/

  2. Clone project repository
    git clone https://github.com/tonyc856/code-style-data-vis.git

  3. Go to /code-style-data-vis directory
    run npm install
    run npm run client-install

  4. Create a local .env file for the environment variables
    Go to the project's root directory and create a file named ".env" with key/value pairs
    MONGO_DB_URL=
    MONGO_DB_NAME=
    MONGO_DB_COLLECTION=
    MONGO_DB_USERNAME=
    MONGO_DB_PW=

Running the project (run from project's root)

npm commands:
npm run dev - runs the client and server with nodemon. Use this for deving in the frontend and backend.
npm run client - runs the client only
npm run server - runs the server only with nodemon
npm start - runs the server normally with node
npm run client-install - installs the client's dependencies
npm run heroku-postbuild - for Heroku to use for deployment purposes only

If developing on the frontend side only, run npm run client and npm start.
nodemon restarts the server each time changes are made.

API endpoint location: localhost:3001/api/

Screenshots

Screen Shot 2022-10-27 at 10 33 22 PM Screen Shot 2022-10-27 at 10 33 26 PM Screen Shot 2022-10-27 at 10 33 32 PM Screen Shot 2022-10-27 at 10 33 44 PM Screen Shot 2022-10-27 at 10 35 06 PM Screen Shot 2022-10-27 at 10 35 06 PM Screen Shot 2022-10-27 at 10 35 06 PM Screen Shot 2022-10-27 at 10 35 06 PM Screen Shot 2022-10-27 at 10 35 06 PM Screen Shot 2022-10-27 at 10 35 06 PM Screen Shot 2022-10-27 at 10 35 06 PM Screen Shot 2022-10-27 at 10 35 06 PM Screen Shot 2022-10-27 at 10 35 36 PM Screen Shot 2022-10-27 at 10 35 51 PM Screen Shot 2022-10-27 at 10 35 53 PM Screen Shot 2022-10-27 at 10 35 55 PM Screen Shot 2022-10-27 at 10 35 57 PM Screen Shot 2022-10-27 at 10 35 59 PM Screen Shot 2022-10-27 at 10 36 01 PM

About

Building a data visualization solution for code style mined from thousands of GitHub public repositories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •