Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/masumkhan081/pharmacy-mgmt-backend

rest-api based back-end for a react-tailwind based front-end to build a drugs information system that holds drugs, generics, groups, formulation, strength with actions like add, edit-update, search, delete, paginated-tabular-view on it.
https://github.com/masumkhan081/pharmacy-mgmt-backend

crypto-js expressjs mongodb-atlas mongoose nodejs nodemailer passportjs rest-api

Last synced: 11 days ago
JSON representation

rest-api based back-end for a react-tailwind based front-end to build a drugs information system that holds drugs, generics, groups, formulation, strength with actions like add, edit-update, search, delete, paginated-tabular-view on it.

Awesome Lists containing this project

README

        

npm init -y
npm install --save-dev typescript
nano tsconfig.json

npm install --save [email protected]
npm install -save-dev @types/[email protected]

import express from 'express';
const app = express();
const port = 3000;

app.get('/', (req, res) => {
res.send('Hello World!');
});

app.listen(port, () => {
return console.log(`Express is listening at http://localhost:${port}`);
});

npx tsc

node dist/index.js

"start": "tsc && node dist/index.js",
"dev": "nodemon --exec ts-node index.ts",