The Social Network Developer App is a modern social networking platform designed specifically for developers. It connects developers by providing a robust environment for sharing ideas, building connections, and exploring new opportunities. This application combines the power of Django and Django-Rest-Framework for the backend with a dynamic React frontend, offering a seamless and interactive user experience.
Frontend:
- React: A JavaScript library for building user interfaces.
- Redux: A state management library for React applications.
- React-Router-Dom: For routing and navigation.
- Axios: For making HTTP requests.
- Moment: For date and time manipulation.
- React-Moment: Integration with Moment.js for React.
Backend:
- Django: A high-level Python web framework for building the backend.
- Django-Rest-Framework: A powerful and flexible toolkit for building Web APIs.
Development Tools:
- Node.js and npm: For managing JavaScript dependencies and running development scripts.
- Python and pip: For managing Python dependencies and running Django commands.
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Build for production:
npm run build
- The
proxyis set tohttp://localhost:8000inpackage.json. You can configureaxios.defaults.baseURLtohttps://api.example.comif needed.
- The
-
Clone the repository:
git clone https://github.com/devmahmud/DevConnector-Django.git
-
Install the required Python packages:
pip install -r requirements.txt
-
Configure GitHub API credentials:
Edit
settings.pyand add your GitHub credentials:GIT_CLIENT_ID = 'your github client id' GIT_CLIENT_SECRET = 'your github client secret'
-
Run database migrations:
python manage.py makemigrations python manage.py migrate
-
Start the development server:
python manage.py runserver
The server will be accessible at
http://127.0.0.1:8000.- Ensure to whitelist your host origin using
django-cors-headersfor production. See Documentation
- Ensure to whitelist your host origin using
To run the tests:
python manage.py testThis project is licensed under the MIT License.
Developed by Marcus Wilkes