/ViaTick-Mapbox-Be

Primary LanguageRubyMIT LicenseMIT

📗 Table of Contents

📖 [ViaTick Mapbox on Rails]

[ViaTick Mapbox on Rails] is the backend of the coding assignment assigned to my by ViaTick.

Frontend of this Project can be found here

🛠 Built With

Tech Stack

Client
Server
Database

Key Features

  • Add Pins to the Map
  • Generate the nearest Routes

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

 gem install rails

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone https://github.com/rex-9/ViaTick-Mapbox-Be.git

Install

1. Navigate to the location of the folder in your machine:

you@your-Pc-name:~$ cd <ViaTick-Mapbox-Be>

2. Install the gems:

bundle install

3. Set up the database with your credentials:

  • setup the database environment in
config/database.yml

4. Create the databases:

rails db:create

5. Migrate the databases:

rails db:migrate

6. Seed the dummy data: (Optional)

rails db:seed

Usage

To run the project, execute the following command:

7. Run the server on port 3001:

rails server

(back to top)

👥 Authors

👤 Rex

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project, please kindly offer me opportunities for further contributions.

(back to top)

🙏 Acknowledgments

I would like to thank Edmund@Viatick for giving the Inspiration and Funds to build this project.

(back to top)

❓ FAQ

  • How did you create this Rails Backend step by step?

    • You can check my commit history. I did as simple as I could. If it's hard to understand, you can easily reach out to me.

(back to top)

📝 License

This project is MIT licensed.

(back to top)