Nova App is a concept website designed to showcase futuristic-looking cars, developed in collaboration with Nova Cars, an imaginary company.
This project was built using Node.js, Handlebars, Express, and MySQL for user registration and login functionality. It has been deployed using Heroku and is accessible at Nova App on Heroku (Not Avaliable anymore because of the hosting costs).
- Futuristic Car Showcase: Display a collection of concept cars with sleek, modern designs.
- User Authentication: Users can register, log in, and manage their profiles.
- Dynamic Content: Content is dynamically generated using Handlebars templates.
- Database Integration: User data is stored in a MySQL database.
- Node.js: Server-side JavaScript runtime for building scalable network applications.
- Express: Web application framework for Node.js, used for building the backend.
- Handlebars: Templating engine for rendering dynamic content.
- MySQL: Relational database management system used for storing user data.
- Heroku: Cloud platform used for deploying the application.
-
Clone the repository:
git clone https://github.com/tbtiberiu/nova-app.git
-
Navigate to the project directory:
cd nova-app -
Install dependencies:
npm install
-
Set up the database:
- Install MySQL from the official website.
- Run the MySQL script from
create-db.sqlto set up the necessary database and tables. - Set the environment variables related to the database inside
.env.
-
Run the application:
- You can start the application using Node.js:
node app.js
- Alternatively, you can use Nodemon for automatic restarting:
nodemon app.js
- You can start the application using Node.js:
Once the application is running, you can access it locally via http://localhost:3000/.
Your terminal should look like this:
> nova-app@1.0.0 start
> node app.js
Server running on port 3000
Connected to MySQL database!