Skip to content

Rukundo-Bahati/Copic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

COPIC


copic


Copic backend is the server-side application for Copic, a social media platform tailored specifically for photographers and their admirers.

Photographers can showcase their portfolios, share their work, and connect with potential clients interested in hiring them.

This backend handles all the critical functions such as user authentication, post management, and messaging between photographers and clients.

Features

User Authentication: Secure sign-up, login, and session management for photographers and clients.
Photographer Profiles: Photographers can create profiles, showcase portfolios, and update personal information.
Post Management: Allows photographers to share their work, categorized by themes, styles, or projects.
Client Interaction: Clients can browse posts, view photographer profiles, and directly message photographers.
Job Management: Supports inquiries and job-related messaging between clients and photographers.

API Endpoints

Authentication

POST /api/auth/signup - Register a new photographer or client. POST /api/auth/login - Login for photographers and clients. Photographer Profile GET /api/photographers/:id - Retrieve a photographer's profile. PUT /api/photographers/:id - Update a photographer's profile.

Post Management

POST /api/posts - Create a new post.

GET /api/posts - List all posts.

GET /api/posts/:id - Get details of a specific post.

Messaging

POST /api/messages - Send a message between clients and photographers. GET /api/messages/:conversationId - Retrieve all messages in a conversation.

Technologies Used

Node.js: JavaScript runtime for server-side programming.
Express.js: Web application framework for managing API routes.
MongoDB: Database for storing user profiles, posts, and messages.
JWT: Authentication via JSON Web Tokens for secure access control.

Contributing

Fork the repository.

Create a new branch for your feature (git checkout -b feature/YourFeature).

Commit your changes (git commit -m 'Add a new feature').

Push to the branch (git push origin feature/YourFeature). Open a Pull Request.

About

An application for connecting photographers with clients in Rwanda.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors