Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 976 Bytes

README.md

File metadata and controls

50 lines (35 loc) · 976 Bytes

Instagram Clone API

Node: v18.16.0

Video demonstration

https://www.youtube.com/watch?v=JHXKjRc8upQ



My Skills

How to install

  • First clone the repository
git clone https://github.com/DaviGGA/social-media-api-v2.git

  • Install all necessary packages
npm install

  • At ./prisma/schema.prisma you can find the database models and datasource, change it or create a database called socialmedia with user as "postgres" and password as "postgres" at localhost
// This is the PostgreSQL template for DB URL
postgresql://USER:PASSWORD@HOST:PORT/DATABASE

  • Run prisma migrations
npx prisma migrate dev

  • Run the application
npm run dev

You can test it out only using Postman, Insonmia, etc. but i also made a simple Front-End, here is the repo: https://github.com/DaviGGA/social-media