Complete the following to get the Rails API and React client up and running.
git clone
down this repository.- Install dependencies and setup DB by running the setup script:
bin/setup
. - Run
cd client && npm install && cd ..
to install dependencies for the React client. - Start the local server:
bin/rake start
- Visit 'localhost:3000' in your web browser of choice.
- Execute
rake
to run the RSPec test suite for the Rails API. - Execute
cd client && npm test
to run test suite for React client.
-
Users can add an organization by entering a name, address, and description on the organization index page and submitting the form.
-
An organization will not be successfully created unless the name and address are entered.
- Users can see a list of all organizations in the system.
- Users can click on an organization to see its details: name, description, and address.
- Users can add services to an organization via the organization details view.
- Users I can delete an organization via the organization details view.
- If there are no organizations, Users will see a message that says "No organizations! Try adding some above."