Skip to content

Amdadullah-Raihan/tourism-roberto-server

Repository files navigation

Tourism Roberto Server

Tourism Roberto Server is the server-side codebase for the Tourism Roberto web application. It is built using Node.js, Express.js, and MongoDB Atlas, and provides a REST API for managing tourist destinations and user accounts.

Features

Tourism Roberto Server offers the following features:

  • REST API for managing tourist destinations, including creating, reading, updating, and deleting destinations
  • REST API for managing user accounts, including creating and authenticating users
  • JWT-based authentication for securing API endpoints
  • MongoDB Atlas as the cloud-based NoSQL database for storing data
  • Mongoose.js as the Object-Document Mapper (ODM) for MongoDB, providing a schema-based solution to model application data
  • Express.js as the back-end server framework for handling HTTP requests and managing data

Getting Started

To run Tourism Roberto Server locally on your machine, you can follow these steps:

  1. Clone the repository: git clone https://github.com/username/tourism-roberto-server.git
  2. Install the required dependencies: npm install
  3. Create a .env file at the root of the project directory and add the following environment variables:
  • MONGODB_URI=<your MongoDB Atlas connection string>
  • JWT_SECRET=<your JWT secret key>
  1. Start the server: npm run start
  2. The server should now be running on http://localhost:5000/

Deployment

Tourism Roberto Server can be deployed to a cloud-based hosting provider such as Heroku or AWS. To deploy the application, you can follow these steps:

  1. Set up a cloud-based MongoDB Atlas database and create a database user with appropriate permissions
  2. Set up a cloud-based hosting environment for the server using a provider such as Heroku or AWS
  3. Set the MONGODB_URI and JWT_SECRET environment variables in the hosting environment
  4. Deploy the application using the provider's deployment tools

Technologies Used

Tourism Roberto Server is built using the following technologies:

  • Node.js as the server-side JavaScript runtime environment
  • Express.js as the back-end server framework for handling HTTP requests and managing data
  • MongoDB Atlas as the cloud-based NoSQL database for storing data
  • Mongoose.js as the Object-Document Mapper (ODM) for MongoDB, providing a schema-based solution to model application data
  • JWT-based authentication for securing API endpoints

Contributing

If you are interested in contributing to Tourism Roberto Server, you can fork the repository, make changes, and submit a pull request. Please be sure to follow the project's coding conventions and guidelines when making changes.

License

Tourism Roberto Server is released under the MIT license. See the LICENSE file for more details.

Contact

If you have any questions or comments about Tourism Roberto Server, you can contact the project maintainers at [email protected].

Releases

No releases published

Packages

No packages published