Git Product home page Git Product logo

admissions-portal's Introduction

Galvanize Admissions Portal

Application to allow prospective students to apply for Galvanize programs.

Technologies

  • React
  • Express
  • Node
  • Sass

To Start

This app uses a proxy server to run locally so your console will show both server and client outputs at once.

  • npm install installs server packages
  • createdb admissions_dev to create the database, get its connection string, most likely postgres://localhost/admissions_dev however you may have username password requirements
  • cp server/.env-example server/.env and set DEV_DB_URL to the db connection string, set TOKEN_SECRET for jwt signing, and set NODE_ENV to development. Get remaining env vars from a co-worker
  • cd server && knex migrate:latest --env=development; if you don't have knex installed, run npm i -g knex
  • cd ../client && npm install installs client packages within the client directory
  • npm run dev starts both client and server concurrently

DSI Python tests

This app pings the Assessments Service in order to run code snippets to test a prospective student's python code again what the challenge asks for. In order to setup the DSI coding challenge locally you'll have to spin up that application as well locally. Make sure to have Docker running locally or this app will poll for challenge results until the app times out. You also might need to run bundle exec in front of the rails server command. You should also run this server on the BASE_URL port in the .env filed within the server folder. This should be a separate port from the front or backend of the Admissions Portal. AS Repo: https://github.com/Galvanize-IT/assessments-service

Database

.env file setup

This app has a .env file in both the main directory and the server directory. This for a few reasons but be sure to follow both .env-example files to get the app working locally.

run createdb admissions_dev run createdb admissions_test in the server directory run knex migrate:latest

Adding Styles

This application uses Sass instead of CSS Modules since much of the styling is used from dotcom-node (Galvanize.com) which uses Sass variables. Instead of importing CSS into each component chose a folder based on what you're styling (Element, Component, Page) within /src/styles and create a .scss file. Then import that file into index.scss at the base of the client-side code.

To Deploy

The Heroku Webhook is already integrated into specific branches to automatically deploy.

  • To deploy to STAGING: Create pull request, have admin approve pull request & merge, and Heroku will automatically deploy to staging.
  • To deploy to PRODUCTION: Create pull request, have admin approve pull request & merge, and Heroku will automatically deploy to production.

admissions-portal's People

Contributors

murphgrainger avatar pgrunde avatar chad-galvanize avatar bradford-hamilton avatar meatpawcreations avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.