Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScheduleBG

📖 About

The ability to create, read, update and delete items in a web application is crucial to most full stack projects. For example, if we're creating a blog posting page, todo list or social media clone, without CRUD actions you'll get stuck very quickly. So we need to be aware that CRUD is too important to be ignored and also because learning this will really improve our confidence within unfamiliar stacks.

In order to understand a litte bit about this programming side, I did some researches and decided to create a Schedule Application with Node, Express and MongoDB.

🔥 How to get started

If you want to run this application in your local, you should:

1) Install the dependencies:

npm install

2) Run the application:

npm run dev

3) After that, you should see the app running in the browser in

Local: http://localhost:8080

⚠️ Be careful

This app uses some environment variables, so to run this app successfully you must create a file named config.env and insided of it you must have:

PORT=           ---:> The port you want your app to run
MONGO_URI=      ---:> The MONGOOSE URL (use the documentation if necessary) 
SESS_NAME=      ---:> A name for your session
SESS_SECRET=    ---:> A random password for your session
SESS_LIFETIME=  ---:> The time in milliseconds for your session to expire, like 259200000 (3 days) 

🎯 Packages used in this application

Dependencies Version Dependencies Version
bcryptjs ^2.4.3 ejs ^3.1.6
connect-flash ^0.1.1 express ^4.17.3
connect-mongo ^4.6.0 express-session ^1.17.2
csurf ^1.11.0 mongoose ^5.13.14
dotenv ^16.0.0 validator ^13.7.0

About

In order to understand a litte bit about the backend side, I decided to create a Schedule Application with Node, Express and MongoDB

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages