Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 718 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 718 Bytes

Medium Clone

Project setup steps

1. Run npm install cmd in root to install all the dependencies.
2. create a .env file in root, follow .env.example file to see the format and fill in the details.
   just tweak in with DB_database, DB_user and DB_password according to your system.

Some Commands which will be used to start and work with the project

yarn build  # for building the static assets in .next directory, as soon as you run this cmd you should see this directory in your root
yarn start  # for starting your api and web both ( recommended )
nodemon server/dev-api.js # for starting just api
nodemon server/dev-web.js # for starting just web