Build A Book Store Crud App With MERN Stack - Web - Development (Uncompleted)
Build A Book Store Crud App With MERN Stack - Web - Development (Uncompleted)
STACK
Achmad Adyatma Ardi1
Programmer, Data Scientist, Engineer
*Corresponding author : [email protected]
Saturday, April 23, 2022
Abstract
With good knowledge and good tools to analyze the data, datas can tell you
everything you want. Programming languages is good one for this purposes. In this
research, I will show you how to visualize data using python. The data set used is
weather data contained 14 variables to analyze. To execute programming statement
we use Jupyter Notebook. Kind of visualization data using seaborn library include :
barplot, displot, joinplot, pairplot, stripplot, swarmplot, boxplot, countplot, pointplot,
lmplot
Introduction
main purpose of using MERN stack is
CRUD webssite is an acronym to develop apps using JavaScript only.
for ways one can operate on stored MERN stands for MongoDB, Express,
data. It is a mnemonic for the four React, and Node.
basic functions of persistent storage. 1. MongoDB
CRUD stands for Create, Read, MongoDB is an open source No
Update, and Delete. The MEAN stack SQL database management
crud it’s a very comprehensive step – program. NoSQL is used as an
by – step guide for building the create alternative to traditional relational
CRUD web application from the databases. The NoSQL databases
scratch using MERN tack which is one are quite useful for working with
of the most popular web application large sets of distributed data.
stack based on node. MERN stack is a MongoDB is a tool that can
collection of technologies that enables manage document – oriented
faster application development. The
},
3. Create JavaScript files named
c. express app.js for executing code
express is the most popular 4. Build databases
node web framework, and is a. Visit application datas form
the underlying library for a based on MongoDB link :
number of other popular node https://www.mongodb.com/
web frameworks. It provides b. Sign up and log in on it
mechanism to : write handlers c. On MongoDB dashboard click
for request with different new project, named your
HTTP verbs at different URL project “Book-Store”, then
paths (routes) click cresate project.
d. On Book-Store project create
on terminal : new cluster
e. Open network access, add an
> npm i express IP address, set allow access
from anywhere, then confirm it
d. mongoose f. Open database access, create a
database user, fill password
# as noted
Replace <password> with the
password for the admin user.
Replace myFirstDatabase with
the name of the database that
connections will use by default.
Ensure any option params are
URL encoded.
h. Connect with script (app.js)
const express =
require(“express”); (1)
const mongoose =
require(“mongoose”) (2)
mongoose
.connect(
“mongodb+srv://admin:
[email protected]
ngodb.net/bookStore?
retryWrites=true&w=majority”) (4)
.then(() => console.log(“Connected
To Database”)) (5)
.then(() => {
app.listen(5000);
}) (6)
.catch((err) => console.log
(err)); (7)
(14.59)
i.
5. ads