Skip to content
forked from rcqx/weblog

A multi-user blog application with time-stamped entries built with RoR

License

Notifications You must be signed in to change notification settings

basem909/weblog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weblog: API endpoints 🕸️🕸️

A multi-user blog application with time-stamped entries built with RoR

Getting Started

This repository includes files with Ruby that can be used to test the created main classes from the app

Clone this link into your local device.

To run test make sure that rspec-rails and capybara libraries are installed in your project

To double check please run:

bundle install

This will install both gems if they were missing in your environment.

Run the server:

rails s

Open localhost:3000 port in your computer and go to /users to check all users

localhost:3000/users

Open localhost:3000 port in your computer and go to /users to check posts of a single user

localhost:3000/users/1

Open localhost:3000 port in your computer and go to /users to check posts, comments and likes of a user in greater detail

localhost:3000/users/1/posts

Open localhost:3000 port in your computer and go to /users to check an specific post

localhost:3000/users/1/posts/1

Running tests

To run all tests including, user and post controllers (both features and request) please run rspec in the main project folder:

rspec

To run test for a specific test run rspec and add the location of the file:

rspec ./spec/requests/posts_spec.rb

Authors

👤 Jose

👤 Bassem

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.

About

A multi-user blog application with time-stamped entries built with RoR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 76.4%
  • HTML 20.3%
  • CSS 1.9%
  • JavaScript 1.4%