DEV Community

Said MOUNAIM
Said MOUNAIM

Posted on

Social connect full-stack app using NestJs, Next.js, Prisma & Next-Auth

Social-connect App

Social-connect app built with NestJS, Next.js 14, Tailwind CSS, Prisma, and NextAuth. Features include user sign-up, sign-in, browsing posts, adding and deleting posts, adding and deleting comments, and following/unfollowing users. Open to contributions during development.

Getting Started

Clone the repository: git clone https://github.com/saidMounaim/social-connect.git
Install dependencies:

For the frontend:

cd frontend
npm install
Enter fullscreen mode Exit fullscreen mode

For the backend:

cd backend
npm install
Enter fullscreen mode Exit fullscreen mode

Create a .env file for each folder:

Frontend (.env):

API_URL=""
Enter fullscreen mode Exit fullscreen mode

Backend (.env):

DATABASE_URL=""
CLD_CLOUD_NAME=""
CLD_API_KEY=""
CLD_API_SECRET=""
JWT_SECRET=""
Enter fullscreen mode Exit fullscreen mode

Start the development servers:

For the frontend:

npm run dev
Enter fullscreen mode Exit fullscreen mode

For the backend:

npm run start:dev
Enter fullscreen mode Exit fullscreen mode

Built With

Contribution

All kind of contributions are welcome, please feel free to submit pull requests.

Top comments (0)