This is a simple CRUD (Create, Read, Update, Destroy) app. It is written in Ruby on Rails and the frontend is crafted using Bootstrap. The app has Active Record Validations (e.g. if the name is too long/short or the email field doesn't contain the '@' symbol, the error messages will be displayed). The tab names are also automatically changed according to a person's first name.
-
Execute
$ rails server -
Go to
localhost:3000in your web browser
-
Navigate to the directory where you want to store the app:
$ cd ~/myfolder -
Type:
$ git init -
Clone this repository:
$ git clone https://github.com/ston1x/nicomustcode.git -
Navigate to the repo directory:
$ cd nicomustcode -
Execute:
$ bundle install -
Start the Rails server:
$ rails server -
Don't forget to migrate the db:
$ rails db:migrate
Make sure you have installed:
- Ruby 2.5.0 or later
- Rails 5.1.4 or later
- PostgreSQL
nodejsandnpmpackages might be necessary