This is a API (Application Programming Interface) to a social media or microblogging platform that allows users to post short messages with title based on Twitter
This repository is a project written in the GO language, simulating the flow of a social network, in which the user can create an account, follow other participants and post text content based on the Twitter and TabNews model.
I'm leaving the code open so that the community can contribute with improvements and bug fixes. In addition, I hope that the project contributes to the learning of others who, like me, are independently seeking the knowledge they need to develop their hard skills further.
Has a issue list here, you can add some need, functionality, or develop some of them, even refactor, just follow Conventional Commits in your commits
Follow these steps:
- Fork this Repository: Click the "Fork" button in the top right corner of the page. This will create a copy of the repository in your GitHub account.
- Clone the Project Repository: Clone the project repository to your local machine using Git. Navigate to the desired directory and run the following command
git clone https://github.com/<your-username>/social-network-api.git
- Navigate to the Project Directory: Change your current directory to the project folder using the cd command
cd /social-network-api - Create a New Branch: create a new branch for your changes
git checkout -b <change-type>/<what-will-be-worked-on>
Example:
git checkout -b feat/post
- Submit a Pull Request: push your branch to your repository on GitHub to dev branch
To get started with the project and begin coding contributions, follow these steps:
- Install Docker: Ensure Docker is installed on your system. If not, download and install it from the official Docker website.
- Install API Testing Tools: Choose and install a suitable API testing tool such as Insomnia or Postman. These tools will help you test the project's APIs.
- Access the project folder: Navigate to the directory where the project is
- Create env file: Create .env.local file in folder /app and added all enviroment variables to run the application, has a exemple here
- Run Docker Composer: Run the docker-compose up command to start the necessary containers and services specified in the docker-compose.yml file, the Docker Compose will handle the setup and orchestration of the project's dependencies and environment.
docker-compose up
Now, you're all set to start working on the project and contribute to its development. Open the API testing tool (Insomnia or Postman) to interact with the project's APIs and begin coding!
Here Changelog to see latest updates and changes.
This project is MIT License