RESTful API backend for the **Expediente Garavito** transmedia storytelling platform.
This backend powers the interactive features of the Expediente Garavito platform, including:
- Submitting and retrieving user stories.
- Storing blog entries and podcast data.
- Providing geo-located event markers for the interactive map.
The API is designed to be lightweight, fast, and scalable — supporting both the main platform and future integrations.
-
Clone the repository:
git clone https://github.com/FazeElian/expediente-garavito-tnt-api.git
-
Install dependencies:
npm install
-
Set up environment variables:
PORT=5000 DATABASE_URL=postgresql://your_user:your_password@localhost:5432/your_database
-
Start server (For local development):
npm run dev:api
- 🌍 RESTful endpoints for frontend consumption
- 📬 Submit user experiences and blog entries
- 🐘 PostgreSQL database support
- 🛡️ CORS & security middleware
- Node.js + Express.js
- PostgreSQL + Sequelize
- dotenv for environment variables
- CORS and morgan for middleware
- Hosted on Render
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
