An Emailing Server created using NodeJS, React and MySQL
An Emailing Server that will tell you everything you need to know about awesome new recipes everyday. Clients can subscribe to the email services to get started.
Project is created with:
- NodeJS version : 16.14.0
- React version : 18.2.0
- Bootstrap version : 5.2
- MySQL Community server : 8.0.31
Clone this repository using the command : git clone /~https://github.com/anmol-ui/A-Recipe-A-Day.git
- Go to the root folder in terminal and install required modules using npm:
>npm install
- Run the website using:
>npm start
- Open MySQL Workbench
- Start a new connection with following details:
- username: root
- connection name: localhost
- password: Anmol123@
- Open a new SQL tab and execute the query:
create database cgas_project;
- cd to the folder named "Server" in terminal and install required modules using npm:
>npm install
- Run the server using:
>node index.js
-
On the Website homepage, Enter required details and hit the "Get a free subscription" button
-
An email will be sent with the subject "A Recipe A day". Open the mail to confirm email address
Once the email is confirmed, user details will be added in the database and the user will start receiving new recipes
from the next day. The time of email is set at 8:00am but can be changed depending upon the preference.