A NodeJS secure server for a restaurant application developed using Express framework with OAuth authentication.
-
To install Node on your machine, go to https://nodejs.org and click on the Download button. Depending on your computer's platform (Windows, MacOS or Linux), the appropriate installation package must be downloaded.
-
Open a terminal window on your machine. If you are using a Windows machine, open a cmd window or PowerShell window with admin privileges. To ensure that your NodeJS setup is working correctly, type the following at the command prompt to check for the version of Node and NPM
node -v npm -v -
git clone https://github.com/sathya5278/conFusion-Server.git -
Open a terminal in the root directory of the project and run these commands
npm installGo to the bin folder and then create the private key and certificate by typing the following at the prompt:
openssl genrsa 1024 > private.key openssl req -new -key private.key -out cert.csr openssl x509 -req -in cert.csr -signkey private.key -out certificate.pemCheck the output at https://localhost:3443 in your browser.
npm startThe server will start running.
Contributions make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the GNU GPL License.
Sathya M - @sathya5278
Project Link: https://github.com/sathya5278/conFusion-Server