Coder Social home page Coder Social logo

kojoowusu / contactapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.16 MB

A simple contacts book app with a ruby-graphql backend and react typescript frontend

License: MIT License

HTML 4.67% TypeScript 36.63% CSS 8.65% Ruby 49.95% JavaScript 0.11%

contactapp's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

NB was working in ContactAppReact branch mostly so that branch has most recent changes. Yet to merge with master

  • Ruby version 2.7.0

  • System dependencies Rack/Cors, Pg, Graphql, Graghql-rails, gem, puma

  • Configuration to run locally

    run bundle install to install all dependencies specified in Gemfile and Gemfile.lock

  • Database creation N.B modify 'config/databases.yml' file and replace adapter with that of your preferred database: |postgresql|mysql|sqlite3 also change username and password in the same config file.

    run rails db:create to create database

    To start server locally run: 'rails s [ --binding 127.0.0.1] [-p PORTNUMBER] '

  • Database initialization Run rake db:migrate to create database migrations from schema. Run rake db:seed to test by seeding database

  • Deployment instructions deployed to heroku

  • app url: https://safe-earth-99320.herokuapp.com run heroku run rake db:migrate to run database migrations on heroku

    check if dyno is running by running 'heroku ps:scale web=1' or checking process status with 'heroku ps'

    run 'heroku logs' to view logs in case of errors

contactapp's People

Contributors

kojoowusu avatar

Watchers

 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.