expressjs

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.
Here are 12,071 public repositories matching this topic...
-
Updated
Mar 1, 2020 - TypeScript
As noted in a comment on #97, developers who want to write a Store implementation either need to:
- extend their Store from express-session's store.js, which typically means requiring express-session as a dependency
- implement their own version of the functionality in store.js, session.js, and cookie.js (or copy the files from express-session)
This is because express-session requires the follo
Make it clear the config.json
is used first with the optional environment-specific config merged in. Also, fix the prod[uction].json
typo.
-
Updated
Apr 17, 2020 - JavaScript
-
Updated
Feb 13, 2020 - JavaScript
we want to use swagger integrated with API document under aws-serverless-express framework, so any document/guideline to follow?
if we follow some code rule to define the API method then generate the API document and show in swagger it is perfect
We need some kind of automated method (or just a tool like the readme update one) to update the page https://github.com/expressjs/expressjs.com/blob/e703270d64b20abd682e01d428bda8f068c13aca/en/resources/contributing.md
add mobx example
I'm using this project and want to add mobx for state management.
I'm happy to PR documentation/example with some guidance!
Thoughts? @tirthbodawala
-
Updated
Mar 2, 2020 - JavaScript
If not for some particular exceptions, the status code returned from our WebAPI on error is always 500, regardless of the kind of error.
If an object already exists, for example, it should be returned as 409
. If the object does not pass the schema validation, it should be a 415
.
Go through the whole WebAPI and verify that the status codes are being returned correctly.
Hint: Error
cl
When doing a POST or PUT request with the new-ish fetch()
API:
fetch('/URL', {
method: 'PUT',
body: 'whatever',
headers: { 'csrf-token': csrf }
}).then(res => res.json()).then(res => {
console.log(res);
});
I receive a typical error of:
ERROR { ForbiddenError: invalid csrf token
...
code: 'EBADCSRFTOKEN' }
After many hours searching the web a
-
Updated
May 10, 2020 - JavaScript
-
Updated
Apr 17, 2020 - JavaScript
-
Updated
May 14, 2020 - TypeScript
-
Updated
Mar 14, 2020 - JavaScript
have error:
BabelLoaderError: SyntaxError: D:/Projects/express-vue/.expressvue/example/views/user/app.js: Bad character escape sequence (2:56)
1 | import Vue from "vue";
2 | import App from "D:\Projects\express-vue\example\views\user.vue";
characters must be escaped.
PS: I know about started_template, but there I have even more problems
ReadMe Errors
-
Updated
Apr 18, 2020 - JavaScript
Version
Reproduction link
Steps to reproduce
create empty project, try to run prod with express template
What is expected ?
it to work
What is actually happening?
it returns
Cannot GET /
Somehow it cannot get .nuxt files if the files are built prior. It is still working
-
Updated
May 18, 2020 - TypeScript
-
Updated
Jan 24, 2020 - JavaScript
Thanks for creating this package!
But I'm trying to use different bullet points. They look too big for me so I created a new numbering with a different icon but I cannot select this new numbering because it's always using the id = 1 :https://github.com/dolanmiu/docx/blob/5.0.0-rc5/src/file/paragraph/paragraph.ts#L158.
If you choose numbering you can in fact select the id:
https://github.com
-
Updated
Mar 14, 2020 - JavaScript
-
Updated
Oct 29, 2019 - JavaScript
I'm using express vhost behind a reverse proxy and i want to use this module based on the x-forwarded-host
header as opposed to the host
header that is hardcoded here:
https://github.com/expressjs/vhost/blob/12565d1e88ccd089f2f04f05227f636d3aea6111/index.js#L77
Express 4 supports this by accessing req.hostname
directly: http://expressjs.com/en/4x/api.html#req.hostname
Express 3 supp
Created by TJ Holowaychuk
Released November 16, 2010
- Organization
- expressjs
- Website
- expressjs.com
- Wikipedia
- Wikipedia
Given the immense popularity of Docker and the need to harden it different per platform (see ideas below) - we'd like to start writing a Docker best practices section.
You're welcome to contribute ideas and write best practices - writing and brainstorming will people is an amazing way to deepen your Docker understanding.
At first, we want to collect ideas for best practices, solidify a list