I created a mini version of the platform with at least three core functionalities: user registration, a job posting application, and a simple company directory. The project should be designed using modern full-stack technologies.
Backend: Implemented using Node.js with Express. The backend features RESTful APIs for user management, job postings, and company directory operations.
Database: MySQL was used for the database, with a schema designed to support the functionalities and ensure proper relationships.
Frontend: The frontend was built using Angular, providing a responsive user interface that interacts seamlessly with the backend via the APIs.
Authentication: User authentication is implemented using JWT (JSON Web Tokens) to ensure secure access to backend services.
This is a Node.js project built using Express.js, Sequelize, and MySQL. It includes environment configuration through an .env
file.
-
Clone the repository:
git clone https://github.com/walinabizada/angular-express-sequelize-platform.git cd angular-express-sequelize-platform Install dependencies Make sure you have Node.js and npm installed, then run: npm install
Create an .env file in the root of the project and add the following environment variables:
DB_HOST=your-database-host
DB_USER=your-database-username
DB_PASSWORD=your-database-password
DB_NAME=your-database-name
DB_PORT=your-database-port
Replace the placeholder values with your actual database configuration.
-
Run Migrations: To set up your database schema, run the migrations:
npm run migrate
To start the application, run:
npm run dev
express: Web framework for Node.js.
sequelize: ORM for SQL databases.
mysql2: MySQL client for Node.js.
dotenv: Load environment variables from a .env file.
This project was generated with Angular CLI version 18.2.1.
-
Install Node.js and npm: Ensure you have Node.js and npm installed on your system. You can download and install them from nodejs.org.
-
Verify installation:
node –v
npm –v
-
Install Angular CLI globally using npm:
npm install -g @angular/cli
-
Verify the installation:
ng version
-
Install Dependencies:
npm install
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.