Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smauhourat/trekkingbsasapppub
https://github.com/smauhourat/trekkingbsasapppub
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/smauhourat/trekkingbsasapppub
- Owner: smauhourat
- Created: 2023-05-16T08:25:57.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-26T18:51:36.000Z (about 1 year ago)
- Last Synced: 2023-09-27T01:55:01.661Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://trekkingbsasapppub.vercel.app
- Size: 49.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TrekkingBuenosAires - App Eventos Turisticos
## Configuration steps
### Stack MERN
1. run **npm install**, to install server dependencies
2. run **npm install --prefix client**, to install client dependencies
3. set **JWT_SECRET** environment variable with strong secret phrase### MongoDB
1. create a MongoDb Database and set **MONGO_URI** environment variable with the url
### Cloudinary
1. create an account in https://cloudinary.com/
2. set **CLOUD_NAME** and **API_KEY** environment variable from Cloudinary values### SMTP Server
1. set **CONTACT_USER
CONTACT_PWD
CONTACT_HOST
CONTACT_PORT** with a valid stmp account
2. set **CONTACT_TO** environment variable with receipt mail account### Intial user creation
2. set **TOKEN_API** to create initial user admin with PostMan
## Run App
1. run **npm run dev**, the frontend app will listen on http://localhost:3000, and the backend api will listen on http://localhost:5000
2. create initial user admin with PostMan`post to "http://localhost:5000/api/users"`
`set header`
`"x-auth-token": `
`set body`
`{ "name": "", "password": ""}`## Deploy to Vercel
1. run **npm run build-client**
2. run **git push origin master**// TODO
### Miscellaneous - Update Mongo Schema
db.collection.updateMany({}, {$set:{: }}, {})
26-09-2023
ojo no perder la confirmacion de borrado de Trips de la rama DEVELOP