Skip to content

kevjose/codex

Repository files navigation

Codex

The code analysis platform

  • This is a simple static code analyser for Javascript using jshint and Python using flake8
  • The flow of the application is as under
  1. Register to the application with the register button
  2. Login with the user that has been created
  3. Select the language you want to analyse the code in
  4. Paste the code in the Code Editor
  5. Press the submit button to see the code analysis result

Tech stack used

  • Backend
  1. Express JS server (node server)
  • Database
  1. MongoDB (nosql)
  • Frontend
  1. React and Redux (for state management)

Pre-configs for local environment

  • make sure you have nodejs(10.16.0), mongoDB(4.0.0) and python 2.7 (and pip as well ) installed
  • for static code analyser use jshint (via npm install -g jshint) and flake8(via pip install flake8)

steps to run in local machine

git clone https://github.com/kevjose/codex.git
cd codex
npm install
npm install --prefix client
npm run dev
  • the above will open a browser on port 3000