job-board's Issues
Backend: watch and restart application if any changes are made
Instead of having to kill and restart this command:
yarn start or npm run start
Why can't we listen for any changes within the /src
, then build and restart the application? (for the development stage).
using `user.id` as the `employer id` for `JobListing`
at line 23 in job.controller.ts
The authenticated user identifier is provided as employer
to JobService
.
https://github.com/coderoyalty/CODSOFT/blob/8d5c1718a933ab6e8b8e2f23977d2c104e936555/backend/src/controllers/job.controller.ts#L23
this is then used (with the employer field in the object) to create a new job.
https://github.com/coderoyalty/CODSOFT/blob/8d5c1718a933ab6e8b8e2f23977d2c104e936555/backend/src/services/job.ts#L10
But, according to JobListing
model, the employer field is an ObjectId
and a reference to Employer
model
https://github.com/coderoyalty/CODSOFT/blob/8d5c1718a933ab6e8b8e2f23977d2c104e936555/backend/src/models/job.listing.ts#L33
Setup tests for backend
Dynamically configure CORS using based on allowed origins from the environment variables
Instead of configuring the accepted origins for CORS, let's load these supported origins from the environment.
the employer model isn't updated after creating JobListing
After creating a job, the user's employer model isn't updated to contain the new job listing.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.