Skip to content

adhil72/express-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alt Text

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

  1. Create a folder in "Routes" like "auth"

  2. in auth, create a Ts file named login

  3. 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

About

Develop your backend faster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published