You are browsing as a guest. Sign up (or log in) to start making projects!

EndLess Notes

  • 6 Devlogs
  • 9 Total hours

This project is my first time writing code in python. I also used bootstrap and flask for this project. This web application uses PostgreSQL for the database. PLEASE note that this web service is hosted using Render's free plan which can delay requests for up to 50 seconds!

Ship #1

IMPORTANT:
This web service used Render for it’s backend server. Because of this after a while of inactivity the server goes to sleep and takes a few seconds to start working. So please, be patient and REFRESH your screen. Thank you!

  • 6 devlogs
  • 9h
  • 2.74x multiplier
  • 25 Stardust
Try project → See source code →
Open comments for this post

1h 53m 41s logged

Devlog #6:

  • Change the entire database from SQLite to PostgreSQL for deployment purposes
  • Deployed the app using Neon + Render
  • Please note that this web service is using the Render’s free plan which means that due to inactivity their SERVERS GO TO SLEEP please be patient and REFRESH your screen! 
  • Finally created the ReadME.md
0
0
6
Open comments for this post

45m 53s logged

Devlog #5
After users are logged into their account, they can go to the home page and begin to use the notes application.

Their notes are stored in a database specific to their account so their data stays safe. These notes can simply be deleted by clicking the ‘x’ button.

When a new note is added a notification appears at the top saying “Note Added!”.

Once the user logs out they cannot access the home page. This way notes cannot be viewed/changed without proper authentication.

0
0
2
Open comments for this post

2h 22m 48s logged

Devlog #4

Login/Signup/Logout has been setup.

When a user Signs up a database.db is created to store the user’s stuff. And after signing up they are automatically logged in and redirected to the home page. The home page is only available once the user has been logged in.

If you already have an account you can login and after doing so you will be redirected to the home page.

If the user clicks logout the are sent back to the login page and they must login to access the home page.

Hashing:
When the user creates/enters the password it is hashed using SHA-256. Imported from werkzeug.security

Sign up page’s constraints:

  • If the email entered already has an account the new user will not be able to sign up with that email.
  • The email must be greated than 4 characters.
  • The first name must have 1 character
  • The first password entered must match the password entered under “confirm password”
  • The password must be atleast 7 characters
0
0
3
Open comments for this post

1h 15m 16s logged

Devlog #3

Highlights:

  • Setup the Sign up page’s front-end, authentication, and backend.
  • Setup the Login page’s front-end(I haven’t started it’s back-end and authentication yet)
  • Setup alert messages

How I made the Sign Up page:

Front-end:
To build the style of the Sign Up page I used bootstrap which is a front-end framework which makes creating a front end using html simpler. Using the bootstrap framework I was able to create this page without having to make the style.

Back-end:
Since I’m building the back-end in python I used Flask(also a framework). When the user enters values in each box and clicks submit the nested if-else statements ensure all values meet the requirements. Such as, the First Name must have at least 1 character, the email must have 4 characters etc. And if these requirement are not met but the user still clicks submit, a flash message will appear at the top.

0
0
2
Open comments for this post

1h 51m 22s logged

Devlog #2:

  • Made a navbar using bootstrap
  • In smaller screens like phones a different nav bar appears to fit the screen size.
  • Each button in the navbar has it’s own page
0
0
1

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…