express-mapper
v2.1.1
Published
Develop your backend faster
Downloads
4
Readme
express-map
Develop your backend faster
How to use
npx create-express-map server
cd server
yarn/npm install
Now open http://localhost:3001/index
Know express mapper
Create a new path for your server
Create a folder in "Routes" like "auth"
in auth, create a Ts file named login
Add the following lines to it
export default { mode: 'get', fun: (req: any, res: any) => { console.log('got req') res.send('hi') } };
Now the path /auth/login is live http://localhost:3001/auth/login