Code Monkey home page Code Monkey logo

project-2's Introduction

Brewery companies info - Sinatra Edition

The application is about the Brewery companies information system when a new user want an the information they have to sign up first if signup or log in incorrectly, It redirect them back to the root page. If a user tries to signup with account information that already exists, there is a flash message tells their file is in our the company list the user will know where to go because i add up navbar in each page. the logout button is inside navabar, after they log in if the users put wrong data it will show them an error message "It IS NOT IN OUR FILE"

How the app was build

Install the required Ruby Gems such as sinatra gem to gem file and install using the following command:

bundle install

Build Controllers, Modeles, And Views They describe how the applications respond to HTTP requests .Call methods like get, post and patch using the following commands

``get '/' do erb :"/" end


# How to Run the app
It also has methods like headers, session,  and other things that relate to concepts from HTTP
the application uses 'shotgun' to run a local server. Type the following in your terminal:
```ruby
shotgun
```
Open up your  web browser and navigate to the following URL:
```ruby
http://localhost:9393
```

project-2's People

Contributors

teskew avatar

Watchers

James Cloos avatar  avatar

project-2's Issues

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.