This is a full Stack Project built on MERN Technologies Using React.js , Node.js , Express.js , Mongo DB It is a simple social media app that allows users to post about their travelling histories of the places that are left undiscovered till now. Or the places that are on the this planet earth. but no body has listened about them yet.
GET /posts?page=${page}
Parameter | Type | Description |
---|---|---|
page |
string |
/posts?page=${page} |
GET /posts/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
GET /posts/${id}
Parameter | Type | Description |
---|---|---|
searchQuery |
string |
/posts/search?searchQuery=${searchQuery.search |
POST /posts
Parameter | Type | Description |
---|---|---|
newPost |
string |
/posts,newPost |
PATCH /posts/${id}/likePost
Parameter | Type | Description |
---|---|---|
id |
string |
/posts/${id}/likePost |
POST /posts/${id}/commentPost
Parameter | Type | Description |
---|---|---|
value , id |
string |
/posts/${id}/commentPost ,{value} |
PATCH /posts/${id}`, updatedPost)
Parameter | Type | Description |
---|---|---|
id , updatedPost |
string |
/posts/${id}`, updatedPost |
DELETE /posts/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
/posts/${id} |
POST /user/signin
Parameter | Type | Description |
---|---|---|
formData |
string |
/user/signin |
POST /user/signup
Parameter | Type | Description |
---|---|---|
formData |
string |
/user/signup |
https://traveldevise.netlify.app/
To run this project, you will need to add the following environment variables to your .env file
CONNECTION_URL = YOUR MONGO DB CLUSTER URL
Clone the project
git clone https://github.com/nk1102/TravelDevise.git
Go to the project directory
cd client ( for Front-end)
cd server ( for Back-end)
Install dependencies
npm install
Start the server
npm start ( For both client & server )
Copyright (c) 2022 Nikunj Khandelwal
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.