Check out this project here!
Basic Login is a server side rendered application that allowss users to login and see their dashsboard. See Features for details.
This API was built using EJS ,Node.js, Expess.js, and PostgresSQL.
This is a landing page for all users to see.
This page allows users to submit their information to create an account to login.
This page allows registered users to submit their email and password to login in and see their dashboard.
This page verifies that a registered user has logged in.
Feel free to incorporate this API in your full stack project! Also, feel free to fork and make edits.
- Clone repo
npm install
to install depedencies- Create a
.env
file in the root directory of the project - Inside the
.env
file, setPORT
to what ever port you want the project to run on. Then setCONNECTION_URL
to the url of your database. Finally, setSECRET
to a long random string. Save the file. - Run
npm start
to run the API locally - ENJOY!
MIT License
Copyright (c) 2023 by Suncerie Daye
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.