Code Monkey home page Code Monkey logo

jobplus1's People

Watchers

 avatar  avatar

jobplus1's Issues

数据库设计

数据库设计 #7

基类Base

created_at: 创建时间 | 默认为utcnow()
updated_at: 更新时间 | 更新数据库后默认为utcnow()

用户表User

id | role | name | email | password | logo_img | company_id | employed_id | created_at | updated_at

ID | 用户级别 | 用户名 | 邮箱 | 密码 | logo | 公司id(外) | 求职id(外) | 创建时间 | 更新时间


tablename='user'

id:ID主键
role:角色|uniq
name:用户名 | uniq | len(32)
email:邮箱 | uniq | len(64)
password: 密码 | uniq | len(256) | 使用setter写装饰器实现 并存储其hash
logo: 头像 | 如何存储该资源
company_id: 公司外键 | 当role为公司时,值不为null ?
employed_id: 求职者外键 | 当role为求职者是,值不为null ?
created_at: 基类
updated_at: 基类

求职者表Employed

id | sex | location | detail | resume

ID | 性别 | 地址 | 描述 | 简历


tablename='employed'

id:ID | 主键
sex:性别 | uniq |
location:地址 | len(64)
detail:描述 | len(256)
resume: 简历 | 是存上传的文件URI还是直接将文件存数据库

企业表Cpy

id | website | location | oneword | detail

ID | 网址 | 地址 | 一句话描述 | 详细描述


tablename='company'

id:ID | 主键
website:网址 | len(64)
location:地址 | len(64)
oneword:描述 | len(64)
detail: 描述 | len(64)

职位表Job

id | name | wage | location | company_id | detail | experiment

ID | 职位名 | 薪资 | 地址 | 公司id(外)| 描述 | 经验要求


tablename='job'

id:ID | 主键
name:职位名 | len(64) | uniqu
wage:薪资 | len(64)
location:地址 | len(64)
company_id:发布公司外键 | len(64) | uniqu
detail: 描述 | len(64)
experiment: 职位要求 | len(64)
: 发布时间(继承Base基类,使用updated_at)

投递表Send

id | company_id | job_id | employed_id | resume | delivery_time | qualify

ID | 公司id(外) | 职位id(外)| 求职者id(外)| 简历(外)| 递送时间 | 查阅状态


tablename='send'

id : ID | 主键
company_id : 公司ID(外键) | uniq (是否可不需要该id,因为从job_id里可以读出,或者是显示公司名)
job_id : 职位ID (外键) | uniq
employed_id: 求职者ID(外键) | uniq
resume: 简历(外键)| uniq (是否也可以不需要,同样可从employed_id中读出
delivery_time : 递送时间 | 是否可以不需要(从Base基类created_at中读出)
qualify: 查阅状态 | default:未查阅

一级标题导航条展示

使用bootstrap ,jinja 创建 Base.html 模版文件

  • 首页
  • 职位
  • 公司
  • 公司注册
  • 求职者注册
  • 登录

整体框架 需求分析

整体框架

前端 #25

  1. 实现模版文件(jinja,bootstrap)

后端

  1. 数据库设计
  2. FLASK框架 #25

数据库设计 #20

用户表

id | role | name | email | password | logo_img | company_id | employed_id | created_at | updated_at
ID | 用户级别 | 用户名 | 邮箱 | 密码 | logo | 公司id(外) | 求职id(外) | 创建时间 | 更新时间

求职者表

id | sex | location | detail | resume
ID | 性别 | 地址 | 描述 | 简历(是存上传的文件URI还是直接存数据库)

企业表

id | website | location | oneword | detail
ID | 网址 | 地址 | 一句话描述 | 详细描述

职位表

id | name | wage | location | company_id | public_time | detail | experiment
ID | 职位名 | 薪资 | 地址 | 公司id(外)| 发布时间 | 描述 | 经验要求

投递表

id | company_id | job_id | employed_id | resume | delivery_time | qualify
ID | 公司id(外) | 职位id(外)| 求职者id(外)| 简历(外)| 递送时间 | 查阅状态

需求

用户角色管理及权限限制装饰器 #11

一级标题 #22

  • 首页
  • 职位
  • 公司
  • 公司注册
  • 求职者注册
  • 登录

front 首页模块

  1. 首页 #21
    • 表头 slogan背景图
    • 最新发布的职位
    • 最新加入的公司
  2. 登录页面 #8 #15
  3. 企业注册页面 #15
  4. 求职者注册页面 #9 #15

job职位模块

  1. 职位列表 #10
    • 职位名称
    • 薪资范围
    • 经验要求
    • 地点
    • 公司信息
    • 发布时间
  2. 职位详情 #23
    • 同职位列表
    • 职位描述
    • 职位要求
    • 投递简历按钮

company 企业模块

  1. 企业 列表 #12
    • logo
    • 名称
    • 网址
    • 一句话简介
    • 地点
    • 提供的所有职位数量
  2. 企业 详情 #17
    • 同企业列表
    • 详细介绍
    • 在招职位列表
  3. 企业 职位管理 #17
    • 查看
    • 添加
    • 编辑
    • 删除
    • 下线
  4. 企业 简历管理 #17
    • 查看已投递简历(基本信息,投递职位,下载简历)
    • 不适合列表
    • 面试列表
  5. 企业 信息配置页面 #12
    • 查看企业信息 (查看数据库)
    • 编辑企业信息(更新数据库操作)
      • logo
      • 名称
      • 网站
      • 一句话简介
      • 地点
      • 详细介绍

user 求职者模块

  1. 求职者 个人信息 #14
    • 基本信息
  2. 求职者 简历管理 #14
    • 上传简历
    • 删除简历
  3. 求职者 投递管理 #19
    • 投递列表(公司,职位,时间)

admin管理员模块

  1. 管理员 用户管理 #13
    • 用户列表(分为企业和求职者)
    • 基本信息
    • 用户类型
    • 增加用户
    • 编辑用户
    • 禁用用户
  2. 管理员 职位管理 #18
    • 查看
    • 添加
    • 编辑
    • 删除
    • 下线

tests 测试模块 #24

  1. 各模块测试相关

职位详情展示

职位详情页面
由展示列表重定向至职位详情页
显示该职位数据库中的所有键值

该页可跳转到该职位公司详情

FLASK框架创建(基本目录结构)

#26

  • jobplus1/requirements.txt
  • jobplus1/manage.py

#29

  • jobplus1/jobplus/init.py
  • jobplus1/jobplus/app.py
  • jobplus1/jobplus/config.py
  • jobplus1/jobplus/decorators.py
  • jobplus1/jobplus/forms.py
  • jobplus1/jobplus/models.py

#27

  • jobplus1/jobplus/templates/base.html

#28

  • jobplus1/jobplus/handlers/front.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.