Skip to content

mahabubx7/ts-express-react-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN-stack app

{
  "backend": "express",
  "database": "mongodb",
  "frontend": "react (v18, vite)",
  "runtime": "node.js (with TypeScript)"
}

Run this application

Make sure you have a .env file in the root folder. And,

API_PORT=4000
API_HOST=0.0.0.0
MONGODB_URI=mongodb://localhost:27017/ermovied

Now, run this command [yarn is recommended]

$ yarn start

Build & run in production mode

Just testing, not composed properly

Build first

$ yarn build

Run the app

$ yarn prod

Contributors

=> @mahabubx7