Tweetify is a Twitter API clone designed for educational purposes and personal exploration of social media API concepts. It is not affiliated with the official Twitter platform.
Explore the API documentation by visiting localhost:3000/api/v1/docs
.
To explore my API endpoints and interact with the application, please refer to the Postman Collection provided.
- TypeScript
- NodeJS
- ExpressJS
- Prisma
- PostgreSQL
- Docker
- AWS
Follow these steps to run the project locally:
-
Clone this repository:
git clone https://github.com/ezrantn/tweetify.git
-
Install dependencies:
npm install
-
Launch the project in development mode:
npm run dev
-
Run the migration by:
npx prisma migrate
-
Access the API documentation at
localhost:3000/api/v1/docs
.
The Docker Way:
-
Run
docker-compose
up to start the Postgres instance:docker-compose up
-
Launch the project in development mode:
npm run dev
-
Access the API documentation at
localhost:3000/api/v1/docs
. -
Verify your database connection. The connection string is provided via the
DATABASE_URL
environment variable in thedocker-compose.yml
file. -
When you are done, you can stop the services by pressing Ctrl+C or:
docker-compose down
Your feedback and suggestions are welcome! If you encounter any issues or have ideas for improvements, please open an issue on the GitHub repository.
This project is licensed under the MIT License. See the LICENSE file for details.
Made with ❤️ by Ezra Natanael