Code Monkey home page Code Monkey logo

atlanta-candidate-ui's Introduction

atlanta-candidate-ui

UI for https://github.com/jordanstreiff/atlanta-candidate-api

A Code for Atlanta project

Build Setup

Installing dependencies

# install dependencies
npm install

Running in development

To develop locally against the database you first need to clone and follow the instructions for the backend.

Mac users may have an issue getting the backend setup because Postgres is required. The solution here may be helpful.

Once installed, you will need to change the origins setting of the backend server to allow CORS requests. Change config/application.rb to read as follows:

  config.middleware.insert_before 0, Rack::Cors do
    allow do
      origins '*' # this is the line you need to change
      #origins /https:\/\/codeforatlanta\.github\.com/
      resource '*', :headers => :any, :methods => [:get, :post, :options]
    end
  end

Next, change the baseURL variable to 'http://localhost:3000' in the files src/Offices.vue, src/Office.vue, and src/Candidate.vue.

You can now serve the frontend with

npm run dev

This will serve the frontend at localhost:8080. The server includes hot reload so no need to restart after saves.

Build for production with minification

  • Change all baseURL variables back to the prod version
  • Run the following command from your terminal
npm run build

Vue framework

For detailed explanation on how things work, consult the docs for vue-loader. Also useful is docs for Vuetify.

atlanta-candidate-ui's People

Contributors

mapsandapps avatar jongrim avatar dstrube1 avatar luigi avatar

Stargazers

Jennifer Li Johnson avatar Matthew Crutchfield avatar

Watchers

Josh Sandlin avatar Al Snow avatar Cameron Kilgore avatar  avatar Shanon Clemmons avatar James Cloos avatar Stephen Bussey avatar  avatar Nilaksh Das avatar David Dvorak avatar Andrew Trivette avatar Jeff avatar Julien (CJK) avatar Roy Hewitt avatar Shelby Switzer avatar Joe Reed avatar Matt Trask avatar Riaz Virani avatar Tony avatar  avatar  avatar  avatar Jimmy Lo avatar Justin Rector avatar  avatar Keith Nash avatar Haider avatar Chris Cunningham avatar Robert Groller avatar  avatar Logan J Vickery avatar  avatar Brent Brewington avatar Esther Lee avatar Mike Cuddy avatar Brant Padak avatar  avatar  avatar  avatar

Forkers

jongrim

atlanta-candidate-ui's Issues

Include google analytics

Note: if someone other than Shawn or Luigi implements this, please ask them for a tracking code so it can be tracked from the CfATL org.

Describe what the app is

Have a little description so people coming at the app from a link will know what it is.

Where to include this? Every page? Just the main page? First load of the app?

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.