Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangdinhdung committed Apr 7, 2022
0 parents commit fa94fd5
Show file tree
Hide file tree
Showing 5,695 changed files with 587,178 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
127 changes: 127 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
[1].
+ Hiển thị tên thành phố và số lượng job [done]
+ Hiển thị những job mới nhất [done]
+ Hiển thị các thể loại và số lượng job của thể loại [done]
+ Hiển thị các ứng cử viên nổi bật [done]
[2] + [3].
+ Hiển thị những job mới nhất (CreateAt DESCENDING) [done]
+ Hiển thị job Full Time [done]
+ Hiển thị job Part Time [done]
+ Tìm kiếm job [done]
[4].
+ Hiển thị chi tiết job [done]
+ Thêm vào danh sách bookmark jobs
[5].
+ Apply job [done]
[6] + [7].
+ Hiển thị danh sách project [done]
+ Tìm kiếm project mà
[8].
+ Đăng kí làm project
+ Thêm vào danh sách bookmark projects
+ Danh sách ứng viên đăng kí làm project
[9] + [10]
+ Hiển thị danh sách tất cả ứng viên, sắp xếp theo top(), mới nhất (CreateAt), Ranking (Rating)
+ Tìm kiếm ứng viên
[11].
+ Hiển thị hồ sơ ứng viên
[12] + [13].
+ Hiển thị danh sách tất cả công ty, sắp xếp theo top(), mới nhất (CreateAt), Ranking(Rating)
+ Tìm kiếm công ty
+ Thêm vào danh sách bookmark companies
[14].
+ Hiển thị thông tin công ty
[15].
+ Hiển thị thông tin tài khoản, hồ sơ
+ Hiển thị danh sách job đã apply
+ Hiển thị danh sách ghi chú (note)
[16].
+ Thêm ghi chú
[17].
+ Hiển thị thông tin tài khoản, hồ sơ
[18].
+ Hiển thị danh sách danh mục đầu tư (Portfolio)
+ Xoá danh mục đầu tư (Portfolio)
[19].
+ Thêm mới danh mục đầu tư (Portfolio)
[20].
+ Hiển thị danh sách thông báo (Notifications)
[22].
+ Hiển thị danh sách bookmarks
+ Xóa bookmarks
[23].
+ Hiển thị danh sách job đã post
+ Xóa job
+ Sửa job
[24].
+ Hiển thị danh sách job đã apply
[25].
+ Hiển thị danh sách các ứng viên đã apply
+ Xóa ứng viên
[26].
+ Thêm mới job (post a job)

[27].
+ hiển thị danh sách project đã post (bid)
+ Sửa
+ Xóa

[28].
+ Hiển thị danh sách ứng viên đăng kí làm project
+ Xóa
[29]
+ Danh sách project mà mình đang đăng kí
+ Sửa
+ Xóa
[30].
+ Thêm mới project
[31].
+ Danh sách Review
[32].
+ Thêm mới Review
[33].
+ Thêm mới thanh toán
[34].
+ Lịch sử giao dịch
[35].
+ Sửa hồ sơ người dùng
[36].
+ Sửa thông tin tài khoản mạng xã hội của người dùng
[37].
+ Thay đổi mật khẩu người dùng
[38].
+ Khóa hoạt động của tài khoản người dùng
[39].
+ Thông tin hồ sơ công ty của người dùng
[40].
+ Danh sách thành viên của công ty
+ Xóa thành viên của công ty
[41].
+ Thêm mới thành viên
[42].
+ Danh sách lịch sử giao dịch các gói định giá
[43].

[45].
+ checkout
[47]
+ [26]
[48]
+ [30]
[49]
+ Đăng nhập
[50]
+ Đăng kí
[52]
+ Tạo mới hồ sơ ứng viên
[53]
+ Tạo hồ sơ công ty
[54]
+ Danh sách blog
[55]
+ Chi tiết blog
[57]
+ Open a ticket



5 changes: 5 additions & 0 deletions db/jobby.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CREATE TABLE `jobby_db`.`state` ( `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT , `name` VARCHAR(255) NOT NULL , `jobs` INT(10) UNSIGNED NOT NULL , `created_at` DATETIME NULL , `updated_at` DATETIME NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;
INSERT INTO `state` (`id`, `name`, `jobs`, `created_at`, `updated_at`) VALUES (NULL, 'California', '125', '2022-04-04 08:04:00.000000', '2022-04-04 08:04:00.000000');
INSERT INTO `state` (`id`, `name`, `jobs`, `created_at`, `updated_at`) VALUES (NULL, 'Austin', '200', '2022-04-04 08:05:07.000000', '2022-04-04 08:05:07.000000');
INSERT INTO `state` (`id`, `name`, `jobs`, `created_at`, `updated_at`) VALUES (NULL, 'Tulsa', '190', '2022-04-04 08:05:44.000000', '2022-04-04 08:05:44.000000');
INSERT INTO `state` (`id`, `name`, `jobs`, `created_at`, `updated_at`) VALUES (NULL, 'Los Angeles', '25', '2022-04-04 08:07:07.000000', '2022-04-04 08:07:07.000000');
42 changes: 42 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
const express = require("express");


//create express app
const app = express();

//set up the port server
const port = process.env.PORT || 3000;

// define use
app.use(express.json());
app.use(
express.urlencoded({
extended: true,
})
);

//define root route
app.get("/", (req, res) => {
res.json({ message: "ok" });
});

//import routes
const adminRoute = require('./src/routes/admin');
const stateRoute = require('./src/routes/state');
const jobRoute = require('./src/routes/job');
const categoryRoute = require('./src/routes/category');
const candidateRoute = require('./src/routes/candidate');
const projectRoute = require('./src/routes/project');

//create Routes
app.use('/admin', adminRoute);
app.use('/state', stateRoute);
app.use('/job', jobRoute);
app.use('/category', categoryRoute);
app.use('/candidate', candidateRoute);
app.use('/project', projectRoute);

// Listen server
app.listen(port, () => {
console.log(`Example app listening at http://localhost:${port}`);
});
15 changes: 15 additions & 0 deletions node_modules/.bin/css-beautify

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/.bin/css-beautify.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions node_modules/.bin/editorconfig

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/.bin/editorconfig.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions node_modules/.bin/html-beautify

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/.bin/html-beautify.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions node_modules/.bin/is-ci

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/.bin/is-ci.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions node_modules/.bin/js-beautify

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/.bin/js-beautify.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions node_modules/.bin/mime

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/.bin/mime.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions node_modules/.bin/nodemon

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/.bin/nodemon.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions node_modules/.bin/nodetouch

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions node_modules/.bin/nodetouch.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions node_modules/.bin/nopt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fa94fd5

Please sign in to comment.