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: 5 months 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.
- Host: GitHub
- URL: https://github.com/masumkhan081/pharmacy-mgmt-backend
- Owner: masumkhan081
- Created: 2023-09-27T05:59:11.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-27T23:52:35.000Z (7 months ago)
- Last Synced: 2025-05-05T06:36:51.482Z (6 months ago)
- Topics: crypto-js, expressjs, mongodb-atlas, mongoose, nodejs, nodemailer, passportjs, rest-api
- Language: JavaScript
- Homepage: https://drugs-info-backend.vercel.app
- Size: 413 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
npm init -y
npm install --save-dev typescript
nano tsconfig.json
npm install --save express@4.17.1
npm install -save-dev @types/express@4.17.1
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",