Code Monkey home page Code Monkey logo

pharma-server-zach's Introduction

Pharma-Server-Side

Pharma server-side NodeJS Application to provide data and functionality to already existed pharma react front-end application.

Please note that only the server side code was writted by me for this project. The client side code was provided by @jkrgS.

Preview

Heroku Client Link : https://pharma-client-react.herokuapp.com/

Heroku Server Link: https://pharma-server-side-zach.herokuapp.com/

Getting started

To get the Node server running locally:

  • Clone this repo
  • npm install to install all required dependencies
  • npm run start-dev to start the local server

Dependencies

"axios": "^0.21.1", "bcrypt": "^5.0.1", "compression": "^1.7.4", "cors": "^2.8.5", "express": "^4.17.1", "helmet": "^4.6.0", "joi": "^17.4.1", "jsonwebtoken": "^8.5.1", "mongoose": "^5.13.0", "mongoose-morgan": "^1.0.17", "morgan": "^1.10.0", "nodemailer": "^6.6.3"

Dev Dependencies

"dotenv": "^10.0.0", "nodemon": "^2.0.7"

More details

You can find more info about the structure and a general overview in the developer's manual (under docs folder).

pharma-server-zach's People

Contributors

hrsargyropoulos avatar

Watchers

wet.cinnamon avatar  avatar

pharma-server-zach's Issues

Forgot Password Email

Forgot password email with token sent with nodemailer goes in spam folder. Might need to change html/msg body to send email in the inbox.

Security Issue - Reset password token

When user created or successfully changed password the token sets to default empty string ''. This is a major security issue and needs to be fixed.

  • Either have value at first and new value after successful reset
  • Either exclude password resets when token is empty string

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.